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