其中一个比较特别的是 方法名字同其它一样也是在""之内的
1 <script> 2 3 var p2={ 4 "name":"tom", 5 "age":16, 6 "printInfo":function(){ 7 console.log(this.name,this.age) 8 } 9 } 10 11 p2.printInfo( ) 12 </script>