This document provides an introduction to JavaScript, including:
- JavaScript is a scripting language used to programmatically access computational objects in a host environment and is prototype-based and dynamically typed.
- It was initially created by Netscape in 1995 under the name LiveScript and later renamed to JavaScript.
- JavaScript implementations have three main parts - the core ECMAScript language, the Document Object Model (DOM) for manipulating HTML/XML documents, and the Browser Object Model (BOM) for accessing browser capabilities.
- The DOM represents documents as nodes that can be traversed and manipulated, with levels that have added functionality over time. The BOM allows manipulating browser windows and accessing information about the browser, screen,