ECMAScript Language Specification and JavaScript Dialects

This chapter provides introductions and tutorial examples on the ECMAScript language specification and JavaScript dialects. Topics include history of JavaScript, versions of dialects: LiveScript, JavaScript, JScript, JScript .NET, interface with host environments, automatic semicolon insertion.

JavaScript History and Versions

ECMAScript Language Specification

Automatic Semicolon Insertion to End Statements

Table of Contents

 About This Book

 Introduction to JavaScript

ECMAScript Language Specification and JavaScript Dialects

 Data Types, Variables and Expressions

 Flow Control Statements

 Creating, Accessing, and Manipulating Arrays

 Defining and Calling Functions

 Web Browser Supporting JavaScript

 Server-Side and Client-Side Web Scripting

 Introduction to Objects

 Defining Your Own Object Types

 Inheritance of Properties and Methods through the Prototype Object Chain

 'jrunscript' - JavaScript Shell Command from JDK

 Using Functions as "Function" Objects

 Introduction to Built-in Object Types

 W3C's Document Object Model (DOM) Specifications

 References

 PDF Printing Version