json作为参数传入函数

1 function testJSON(JSON){
2  alert(JSON.name);
3  alert(JSON.age);
4  alert(JSON.id);
5 }
6 testJSON({name:"huangbiao",
7   "age":23,
8   "id":1});
原文地址:https://www.cnblogs.com/ghfjj/p/6306391.html