For DOM scripting, see DOM Scripting Tutorial.
Here's references used.
- ECMAScript® 2016 Language Specification
- ECMAScript 2015 Language Specification – ECMA-262 6th Edition
- ECMAScript Language Specification - ECMA-262 Edition 5.1