background preloader

Javascript

Facebook Twitter

SVG

JavaScript Java Script Programming. JavaScript Guide - JavaScript. The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. This Guide is divided into the following chapters.

Introduction. JavaScript and Object Oriented Programming (OOP) JavaScript and Object Oriented Programming (OOP) Credits: This tutorial is written and contributed by Tim Scarfe.

JavaScript and Object Oriented Programming (OOP)

Edited by JavaScriptKit.com for content/ structure. Associative arrays, looping, and JScript.NET. Objects as Associative Arrays As you may know, the dot (.) operator can be used to access the [] operator used with arrays.

Associative arrays, looping, and JScript.NET

The important thing to notice is that in the object syntax the property is an identifier, whereas in the array syntax, it's a string. The obvious benefits of using an array syntax to access an object is because of the literal data type, you can easily concat strings and play around with them to access an object.