JavaScript JSON.parse string bug - convert value to Infinity

前端 未结 0 451
忘了有多久
忘了有多久 2021-01-18 02:45

Can anyone explain me this strange behavior in JSON.parse() function in Javascript?

When calling it with string, it should raise an error.

e.g

J         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题