What is Javascript
JavaScript is a prototype based object orientated language.
The first JavaScript engine was created by Brendan Eich in 1995 for the Netscape Navigator web browser.
Javascript allows us to do amazing things in the browser / or server. JS makes states web pages interactive and dynamic.
We can program make interactive websites.
We can make games.
We can make components like video players and audio players.
It is interpreted by a just-in-time compiler by a JavaScript engine.
Web Browsers contain a JavaScript engine.
JavaScript engine runs in concert with the rendering engine via the Document Object Model.
V8 engine is a core component of Node.
Uses first-class functions ( functions act like variables )
prototype-based
multi-paradym:
- Supports object orientated dev.
- imperative coding
- declarative coding ( functional coding )
Reference
The main reference for JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript
JavaScript engine
• JavaScript engine is a software component that executes JavaScript code.