DPThere should be an assignment symbol in the first declaration of object literals.Comment·Article·Jan 13, 2023·Guide to JavaScript Objects and Object Methods with easy examples