📅  最后修改于: 2022-03-11 15:02:08.310000             🧑  作者: Mango
// an example Object
var myObject = {
a: 1,
B: 3,
test: 2
};
myObject.a // getting the value of "a" key with DOT NOTATION
myObject["a"] // getting the value of "a" key with BRACKET NOTATION
myObject.test // getting the value of "test" key with DOT NOTATION
myObject["test"] // getting the value of "test" key with BRACKET NOTATION