JavaScript : The one for all

In today’s world of programming JavaScript as the title says can be used as one language for everything.

  • What is JavaScript

JavaScript is a cross-platform, object-oriented scripting language used to make webpages interactive .There are also more advanced server side versions of javascript such as Node.Js which allow you to add more features to the website.

  • Brief history of JavaScript

In earlier days of JavaScript it was known as LiveScript and at that time Java was the king of the jungle so just to gain popularity Brendan Eich(creator of JS) changed the name to JavaScript(a total marketing strategy) after doing it gained some popularity and then it became a web(at that time it was only usable for client-side development) companion for the Java which was one of the reasons why JS became a viable technology on it own.

  • Where JavaScript can be used?

JavaScript can be used everywhere i mean literally in every phase of developing an application, JS can be used and this all is possible by growing number of frameworks developed keeping the JS as there core language. For eg:

  1. Gaming (Pixi.js, Physics.js, Crafty and list goes on)
  2. Machine Learning (Tensorflow.js)
  3. Back-end (Node.js, Meteor.js)
  4. Front-end (ReactJs, VueJs, AngularJs)

And the list just goes on. Anything you can think of JavaScript will be there to help you out!!!

  • Some of the most famous frameworks/libraries in JS
  • NodeJS

It is a platform built on Chrome’s JavaScript runtime(V8 Engine) for easily building fast, scalable network applications.It is an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

  • ReactJS

In the most simple language ReactJS is a library build by facebook to maintain and handle DOM elements of a website. It uses concepts like Virtual Dom and introduced a new syntax knows as JSX which helps the user to write html inside JavaScript.

  • VueJs

Vue.js is an open-source JavaScript framework for building user interfaces. Integration into projects that use other JavaScript libraries is made easy with Vue because it is designed to be exceptionally adaptable.

  • AngularJS

A front-end framework developed by google and it’s one of the most famous framework build for front-end development and angular is still leading the charts in terms of preference when it comes to developing dynamic front-end user interfaces.

  • D3.js

It is a JavaScript library for producing dynamic, interactive data visualizations in web browsers. It makes use of the widely implemented SVG, HTML5, and CSS standards.

  • TensorFlowJS

An open-source library to define, train, and run machine learning models entirely in the browser, using Javascript and a high-level layers API. TensorFlow.js is a great way to begin learning. Or, if you’re a ML developer who’s new to Javascript, read on to learn more about new opportunities for in-browser ML.

And ofcourse the list just goes on and on and i dont think it’s even possible to list all the frameworks and libraries in one blog if you are still interested what other frameworks are there just search list of js frameworks and you’ll be set for the day with amount of reading material you gonna find.

But as we all know nothing is perfect and everything has its pros and cons…

  • Pros
  1. JavaScript can be used on both front-end as well as on backend(Major advantage over other languages and the reason why it gain this much popularity).
  2. JavaScript os one of the fastest language you’ll ever use.
  3. One of the easiest languages to learn.
  4. No compilation is needed as it runs directly in your browsers
  5. Easy to debug and test as there are many gui tools to test and debug your JS code.
  6. Platform Independent as it runs in a web-browser and we all know that there is no OS which doesn’t have a browser.
  • Cons
  1. Security Issues once appended onto web pages execute on client servers immediately and therefore can also be used to exploit the user’s system.
  2. Javascript rendering varies different layout engines may render Javascript differently resulting in inconsistency in terms of functionality and interface.
  3. A single error in JavaScript code can stop the whole site from rendering.


The truth is, we’ve never seen one open language become a nearly-universal programming language for coders. JavaScript is one of the most fascinating languages according to me and it still growing and developing bringing new features and functionality to the table which helps the developer develop new things easily and while having fun because the developer can use one language for his/her backend as well as for front-end..