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