What is JavaScript?

JavaScript is a most mistaken & misunderstood programming language 🤪. People think is it related to Java? Java is OOPS & Server Side Based , Where JS is functional Programming & Client Side 😇.

Brendan Eich

Brendan Eich (Build in Just 10 days start with code-name called Mocha ,and Netscape give the brand name LiveScript,and to penetrate the market of Java Developer , they named it JavaScript (1995). Those days the name “script” was popular refer to light weight programs.

To Distance with Oracle Java Name, the official name is ECMAScript

JS is supported by all most Browsers.

JavaScript Borrowed from Scheme (General Purpose Programming Language), AWK (First class Function), Self(Prototypal Inheritance), Perl , Python(String, Array & Regular Expression).

It is high level programming language. It can use on Client Side and with Node JS it is used on Server Side.

Loosely/Weakly Typed Language (Blessing or Curse) - Need not to tell the type of variable or type of parameter in a function.

e.g var a ; // not like int a;

Dynamically Typed Language. - Types are Associated with runtime values. It Does runtime checking.

Functions are No-1 Citizen in JS.

JS popularity

Leading on No-1 From Last 9 Years

Stack Overflow Developer Survey 2021
In May 2021 over 80,000 developers told us how they learn and level up, which tools they’re using, and what they want.

How JavaScript Code is Executed?


  • The only similarity is JavaScript borrow the same name, Java. To compliment Java Language.
  • Java is Server Centric for BackEnd , where JavaScript is Client Centric for Front End.
  • Java is OOP Language , where JavaScript is Functional Based.
  • Java Inspired from the C & C++ Family, where JavaScript Inspired from Scheme & Self
  • Java is for Enterprise Solution , where JavaScript is for Front End and with NodeJS it is for BackEnd also.

That's all Folks Meet you in next blog.

Author Amit Srivastava