You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my JS file, which results in "Unexpected Compilation Error":
function json_parse(json)
{
return JSON.parse(json);
}
console.log(json_parse("{}"));
The only difference between this and a version that compiles is the introduction of the JSON object. Isn't that a built-in javascript object? Should this be expected to work?
The text was updated successfully, but these errors were encountered:
This is my JS file, which results in "Unexpected Compilation Error":
The only difference between this and a version that compiles is the introduction of the
JSON
object. Isn't that a built-in javascript object? Should this be expected to work?The text was updated successfully, but these errors were encountered: