下面代码的输出是这样的:
[{"user_name":"Maria","user_surname":"Dominguez"},{"user_name":"Celia","user_surname":"Paris"}]
95
我预计长度为2。有什么解释吗?
$.get(
"http://myfirm.local/school/view-more-users",
{"type": user_type, "school_id": school_id, "offset": offset},
function(data){
console.log(data);
console.log(data.length);
,
"json"
);
哈维尔