JS: Operations with object
//* Operations with Object *// let info = { firstName: 'Virat', lastName: 'Kohli' } //1) retrieve property & value from boject //dot notation console.log(info.firstName) console.log(info.lastName) //bracket notation console.log(info['firstName']) console.log(info['lastName']) //2) add property to object //dot notation info.age = 32 console.log(info) //bracket notation info['city'] = 'Delhi' console.log(info) //3) update property of object //dot notation info.firstName = 'Vrendra' console.log(info) //bracket notation info['lastName'] = 'Sehwag' console.log(info) //4) delete property of object //dot notation delete info.city console.log(info) //bracket notation delete info['age'] console.log(info) //Example 2 with dot notation info2 = { CarName: 'Scorpio', Color: 'White' } // retrive console.log(info2.CarName) console.log(info2.Color) // add info2.Model = 2020 console.log(i...