Javascript object literals

HTML

<div id="text"></div>

JavaScript

//$("#text").text("Placeholder");

var myObject = {
    validIdentifier: 123,
    "some string": 456,
    99999: 789,
    "hyphen-ated": function() { return this.99999 },
    containedList: [1,2,3],
    containedObject: { bob: 'lo' }
};
    
//$("#text").text(myObject);
//$("#text").text(myObject.containedList);
$("#text").text(myObject['hyphen-ated']());
//$("#text").text(JSON.stringify(myObject));