JavaScript is a scripting language designed to interact with web pages and is made up of the following
    three distinct parts:

    • ECMAScript, which is defined in ECMA-262 and provides the core functionality
    • The Document Object Model (DOM), which provides methods and interfaces for working with the content of a web page
    • The Browser Object Model (BOM), which provides methods and interfaces for interacting with the browser

    JavaScript editions

    • 2009 ECMAScript 3.1 edition 5
    • 2015 ES6
    • 2016 ES7
    • 2017 ES8