To create a new object, use the new
keyword followed by a call to a constructor function. Javascript provides the Object()
constructor out-of-the-box:
var toilet = new Object();
Once you have an object, you can set and get properties on it, like this: