Introduction to JavaScript

Profile picture for user arilio666

Javascript is a high-level, dynamically typed and interpreted programming language which is used for development of different types of applications including web, mobile and network.

  • It was created in May 1995 by Netscape employee Brendan eich.
  • In 1996 they adopted the early version of JavaScript into a formal language called ECMAscript. By specifying the language formally all the browsers supported ECMAscript thus making JavaScript technically a language based of the ECMAscript specification.

Javascript Today

Javascript is one of the most popular and widely used programming language in the world right now. It is indeed a fast-growing programming language such that popular companies like Netflix, Walmart and PayPal build their application around JavaScript. An individual with good JavaScript knowledge can make up a good front-end developer, back-end developer and also as a full stack developer. For a long time JavaScript was only used in browsers to build interactive webpages. But those days are gone because of tremendous community support from large companies such as Google and Facebook.

Where We Use JavaScript?

These days you can build mobile apps, real-time networking apps like chat and video streaming services, command-line tools and even games using JavaScript. They originally made Javascript to run on browsers which was called JavaScript engine that can execute Javascript code. Common Javascript engine in Firefox and chrome are spider-monkey and v8.

From JavaScript Engine To NodeJS

In 2009 an engineer called Ryan dahl took the open-source Javascript engine in chrome and embedded it inside a c++ program and thus called the program Node. Node is a c++ program that includes google's v8 Javascript engine. Using this JavaScript codes are executed outside of a browser by passing the JavaScript code to our node for execution. In a nutshell JavaScript programs can be run both inside of a browser and outside in a Node.