I thought JSON.parse can only parse JSON string:
'{"result":true, "count":42}'
However, if I run JSON.parse(“123”), I will get “123”, why is that?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I thought JSON.parse can only parse JSON string:
'{"result":true, "count":42}'
However, if I run JSON.parse(“123”), I will get “123”, why is that?