EDITABLE CODE:
LiveDemo: JavaScript Objects : Multiple Properties
Note:The code defines two properties and an accessor property.