前任:
{
"123": [
...stuff
]
}
如何在 jquery 中调用“123”而不返回错误?
我试过了:
$.getJSON('insert-url-here').then(function (data) {
console.log(data.123.length)
}
但它不起作用。
前任:
{
"123": [
...stuff
]
}
如何在 jquery 中调用“123”而不返回错误?
我试过了:
$.getJSON('insert-url-here').then(function (data) {
console.log(data.123.length)
}
但它不起作用。