Skip to content

Chapter 1 of 33

Introduction to JavaScript

Trace JavaScript history, ECMAScript, engines, hosts, and its role across the web.

26 minutes 10 quick checksBy Subha Prasad
Lesson 1 of 33Course navigation

Lesson content

Read, practise, then check your understanding

Brendan Eich created JavaScript at Netscape in 1995. ECMAScript standardizes the language, while engines such as V8, SpiderMonkey, and JavaScriptCore implement it. Browsers add the DOM and Web APIs; Node.js supplies server and operating-system APIs. These hosts are separate from the language itself.

One language, many environments

const message = "Hello, JavaScript";
console.log(message);

JavaScript is dynamically typed, garbage-collected, prototype-based, multi-paradigm, and event-driven. Engines interpret and JIT-compile code. On the web it controls behavior, data fetching, accessibility interactions, and application state alongside HTML and CSS. The same language also powers servers, command-line tools, desktop shells, testing, and build systems. Portability still depends on host APIs and supported ECMAScript versions.

Knowledge check

Answer every question correctly to complete this chapter.

Which statement best describes ECMAScript?
Which JavaScript term matches this description: The standardized language specification implemented by JavaScript engines.
Which statement best describes JavaScript engine?
Which JavaScript term matches this description: Software that parses, compiles, and executes JavaScript.
Which statement best describes runtime host?
Which JavaScript term matches this description: An environment such as a browser or Node.js that supplies extra APIs.
Which statement best describes dynamic typing?
Which JavaScript term matches this description: Types belong to runtime values rather than fixed variable declarations.
Which statement best describes JIT compilation?
Which JavaScript term matches this description: Runtime compilation of frequently executed code into optimized machine code.

0 of 10 checks passed

Your progress is saved on this device.

Introduction to JavaScript | JavaScript Lesson | Subha Prasad