Why is it that whenever I do :-
JSON.parse('"something"')
it just parses fine but when I do:-
var m = "something";
JSON.parse(m);
it gives me an error saying:-
Unexpected token s
See Question&Answers more detail:osWhy is it that whenever I do :-
JSON.parse('"something"')
it just parses fine but when I do:-
var m = "something";
JSON.parse(m);
it gives me an error saying:-
Unexpected token s
See Question&Answers more detail:os