对象的属性值函数
obj["123"] = 456; var n = "123"; // 能够传一个变量到 [] ,来取变量对应在 Object 中的属性值 console.log(obj[n]);
console.log("123" in obj); // true