Show Love to the Object Literal | Core JavaScript 1.5 Guide:Literals

Defining an object is via literal notation. Supported in JavaScript1.2 and above, it’s a more robust form of creating an object on the fly. Neat and clean approach to write reusable, readable and maintainable JavaScript code. Show Love to the Object Literal: http://ajaxian.com/archives/show-love-to-the-object-literal Object literals beauty lies in Namespaces, which reduces the number of global [...]