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