The Core of JavaScript


 

JavaScript is a popular programming language used both in the browser and server. It was initially called LiveScript but later changed to JavaScript. The programs in the language are called script.

JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It was created by Brendan Eich in 10 days. 😮

It is named JavaScript to position it as a younger brother to Java because Java was more popular back then (1995). But they are independent of each other.


The name JavaScript was changed to ECMAScript or ECMA-262 in 1996however, people still call it JavaScript.

It is executed on any device that has a special program called JavaScript or ECMAScript engine. The engine renders web pages to the DOM (Document Object Model) for easier interaction between the browser and the user.


The engine is also called JavaScript Virtual Machine because it executes code in an environment independent of the platform.

ECMAScript is the standardized specification of JavaScript. It contains the most in-depth detailed information about JavaScript.

 

There are different JavaScript engine codenames based on the browser. For example, in Chrome and Opera, it is V8; in Firefox, it's Spider Monkey, in Internet Explorer, it's Chakra, in Microsoft Edge, it's ChakraCore, in Safari, it's Nitro and SquirrelFish, etc.


JavaScript is a unique Programming Language because it has full integration with HTML (HyperText Markup Language) and CSS (Cascading Style Sheet) and by default supports all major browsers.


Applications of JavaScript

  • It allows users to interact with web pages.
  • it is used to build web, mobile, and desktop app.
  • It is used to build games on the web.
  • And many more...

Happy Coding!!!

Comments