how to construct a new object in javascript code example Example: how to create a object in javascript var a = { name: "aakash", age:30 }