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