Notación de matriz en JavaScript

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)
Developer Riyaz