background preloader

Advanced

Facebook Twitter

Table of Contents. Page last changed today. Leaflet - a modern, lightweight JavaScript library for interactive maps by CloudMade. Ninja UI. The Node Beginner Book. Tempo :: The tiny JSON rendering engine by TwigKit. Popcorn.js | The HTML5 Video Framework. MooTools - a compact javascript framework. MarkItUp! 2.0 - A jQuery universal markup editor - Coming when it's done. Modernizr. Learning Javascript with Object Graphs. HEADS UP! This article was written for an older version of node. More up-to-date information may be available elsewhere. One of the secrets to being a super effective JavaScript developer is to truly understand the semantics of the language.

This article will explain the basic elemental parts of JavaScript using easy to follow diagrams. References Everywhere A variable in JavaScript is simply a label that references a value in memory somewhere. Local Variables In the following example, we will create four local variables in the top-level scope and point them to some primitive values: variables.js // Let's create some local variables in the top scopevar name = "Tim Caswell";var age = 28;var isProgrammer = true;var likesJavaScript = true;// Test to see if the two variables reference the same valueisProgrammer === likesJavaScript; Notice that the two boolean variables point to the same value in memory.

The outer box represents the outermost closure scope. Objects and Prototype Chains objects.js.