This page contains material related to the JavaScript language. For a broader overview of related technologies see HTML5 page.
Javascript, The Core (link) is a great introduction to JavaScript language.
Good reference material is available from W3C Schools' JS Home (link).
Google's style code (link).
Learning Advanced JavaScript (link).
JavaScript "classes": 3 ways to define a JavaScript class (link).
Yahoo's (YUI) JS-related video library (link).
Since Advanced JavaScript (link) by Douglas Crockford videos are not available, here are some newer ones at
Yahoo's (YUI) JS-related video library (link).
Creating an object definition, closest to defining a class since the concept of a class does not exist in JS:
myClass.prototype = {
myProperty:”this is a string”,
myMethod:function(parms){
//method logic here
}
}
var instance = new myClass();
There are other ways, too, but the above method minimizes memory usage as it reuses the object definition for every new object created.
Try out JavaScript online - JSFiddle (link).
Various libraries are hosted at content delivery networks:
console.log()
JSON: The Fat-Free Alternative to XML (link)
Details of the object model (link), from Mozilla Foundation.
The Secret Life of JavaScript Primitives (link)
JS Variables, W3C Schools (link)