摘要: 1. var str='{ "name": "John" }'; var obj = eval('(' + str + ')'); alert( obj.name); var str2="{ 'name': 'John' }"; var obj2 = eval('(' + ... 阅读全文
posted @ 2015-08-03 12:18 刘阳|lyang|yangakw 阅读(104) 评论(0) 推荐(0) 编辑