做到这一点的方法是通过括号表示。
var test = { "id": "109", "No. of interfaces": "4"}alert(test["No. of interfaces"]);有关更多信息,请在此处阅读:
- https://developer.mozilla.org/zh-CN/docs/Web/Javascript/Guide/Working_with_Objects

做到这一点的方法是通过括号表示。
var test = { "id": "109", "No. of interfaces": "4"}alert(test["No. of interfaces"]);有关更多信息,请在此处阅读: