📅  最后修改于: 2022-03-11 15:02:26.306000             🧑  作者: Mango
var ob = {
name: "riyaz",
age: "20",
profession: "student"
}
ob.name = 'shuvo'; //this is called the dot notation
ob['age'] = 21; //this is called array notation
console.log(ob.name)
console.log(ob.age)