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});