摘要: var foo = {a: "alpha", 2: "two"};foo[a] --> ReferenceError: a is not definedfoo[2] --> "two" foo.a --> "alpha" console.log(foo.2) --> SyntaxError: mis 阅读全文
posted @ 2017-12-13 15:27 前端开发小姐姐 阅读(153) 评论(0) 推荐(0)