// sample-9-6-object-literal-functions.js // NONE - this file is empty
// sample-9-6-object-literal.js // Object literal sample var mary = { first : "Mary", last : "Jones", id : 654321 } document.write( mary.first, " " ); // using object.property style of retrieving the value document.write( mary["last"] ); // using associativeArray["key-string"] style of retrieving the value