摘要:
1.字符串转换成json对象var txt = '{"employees":[' +'{"firstName":"Bill","lastName":"Gates" },' +'{"firstName":"George","lastName":"Bush" },' +'{"firstName":"Th... 阅读全文
摘要:
var arr=[];1.添加元素---arr.push("1");2.清空数组---arr.splice(0, arr.length); 阅读全文