bhylu.com

Advertisements

JS History

JavaScript began as a browser scripting language and grew into a standardised language used by many runtimes. Browser APIs are not all part of ECMAScript.

Where to run this

This example uses the JavaScript console playground. Select Run to execute it; the example does not run on this lesson page.

A practical example

JavaScript

const areas = {language: "ECMAScript", browser: "DOM and Web APIs", server: "Runtime APIs"};
console.log(areas);

What happens

The record separates the language standard from host capabilities.