在游览器的console中输入:
JSON.parse('')
VM2537:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at <anonymous>:1:6
会报错
在游览器的console中输入:
JSON.parse('')
VM2537:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at <anonymous>:1:6
会报错