JavaScript and it’s Use Case

Anuja Kumari
4 min readJun 25, 2021

--

👉 What is JavaScript ?

JavaScript often abbreviated as JS, is a programming language which is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

Simply to put, JavaScript is a programming language for the web which can be used to update both HTML and CSS, it also performs all the logic, so you can do validations, calculations, manipulation of data.

It doesn’t need any compilation and rather needs interpretation. Why? When you compile a language, it will be converted into native code and native code cannot be executed by other computers with different CPU architectures. But scripting language is written to compile by other programs, like a browser. So, send it as a code to any browser, which then reads it line by line and interpret and execute it.

👉 Features Of JavaScript

  • Validating User’s Input. JavaScript is very useful while using forms. …
  • Simple Client-side Calculations. …
  • Greater Control. …
  • Platform Independent. …
  • Handling Dates and Time. …
  • Generating HTML Content. …
  • Detecting the User’s Browser and OS.

👉 What we can do with JavaScript ?

We can do many things with the JavaScript…

Websites — Obvious, this is why we invented this language. In websites, it is used to add interactivity to HTML elements.

Server Applications — Node.js changed the way we use JavaScript. Now this language is used in building server. Node.js capability to build scalable web apps.

Mobile Apps — React Native is used to creating mobile apps with JavaScript.

Smartwatch apps — React Native is used to creating mobile apps with JavaScript.

Robots and IoT– Yes, you’ve read that right. With a minimal OS, NodeJS can be installed and this means you can use JavaScript environment to code Robots.

  • Johnny-Five — For robotics and IoT Platform
  • Cylon JS — Robotics kit

Games — You can use any language to code a game. But with HTML5 canvas and JavaScript as browser-based games will be super cool.

Machine learning — With AI being state of the art on current technologies, how can JavaScript stay out of the ring?

# TensorFlow is now available on JavaScript

# Brain JS for building Neural Nets

# Compromise for natural language processing

💥How Industries Are Using JavaScript

🔰 Facebook

You’re probably aware that Facebook uses JavaScript. It’s kind of hard to miss. What’s probably not as obvious is exactly how much JavaScript goes into making Facebook and how much Facebook is involved in JavaScript development.

Try disabling JavaScript in your web browser and going to Facebook. The website will actually stop you from logging in because it won’t work without JavaScript.

You may have noticed the way that Facebook loads. Each piece of the page is separate. Facebook has invented its own way of breaking down and delivering sections of JavaScript separately. In an odd way, each section of your Facebook page is a collection of independent JavaScript applications.

It doesn’t stop there. Facebook created React, one of the most popular front end frameworks. Facebook uses React on Facebook.com as well as Instagram and WhatsApp.

🔰 Google

How doesn’t Google use JavaScript? Seriously, it’s everywhere. Google’s search results that spring up as your typing get there with JavaScript. The Gmail web client is powered by JavaScript. Google Docs? Yeah, that’s JavaScript too.

Google develops and usually open sources it’s own JavaScript tools. The most obvious example is AngularJS. Angular is used most prominently in Google’s DoubleClick advertising platform, but it’s also one of the most popular front end frameworks available. It’s even part of the MEAN stack.

Google’s more intensive services, like Google Docs, use Closure Tools. This set of tools compiles JavaScript into a lower-level faster form more suited for rich and highly responsive web applications.

There’s another big point to touch on. Google developed Chrome. Chrome, being a web browser, needed a JavaScript engine, so Google also made V8. V8 not only powers Chrome, it’s at the heart of NodeJS. So, without Google, there would be no Node.

🔰 Microsoft

Okay, so you’re probably not going to find JavaScript powering Windows anytime soon, but Microsoft relies on JavaScript for a whole lot else.

First off, Microsoft needs to work closely with JavaScript to built its Edge web browser. All browsers need to process and execute JavaScript efficiently, so Microsoft has developed and maintains its own JavaScript engine for Edge. Actually, there has been talk of them creating an alternate version of NodeJS with the Edge engine.

Recently, Microsoft has really embraced NodeJS. They thoroughly support Node on the Azure cloud platform. Its one of Azure’s major features, and they’ve integrated Visual Studio support for Node.

Microsoft has also developed a version of Node for Internet Of Things(IoT) applications. NodeJS is great of IoT because it’s light weight and efficient.

Thanks for Reading !! 🙌🏻😁📃

🔰 Keep Learning !! Keep Sharing !!

--

--

Anuja Kumari
Anuja Kumari

Written by Anuja Kumari

Learner @ Linuxworld Informative Pvt Ltd || DevOps(Docker,K8S, Jenkins, Terraform, Git and GitHub) || AWS || ( Python | Java )

No responses yet