JSON.parse()的坑

坑一console.log(JSON.parse(str));json字符串严格遵循json规范JSON.parse(‘{“name”: “页面仔小杨”, “age”: 18}’)key必须要用双引号JSON.

网站地图