jamesallardice / jslint-error-explanations

:memo: Explanations of all the (sometimes cryptic) error messages thrown by JSLint and JSHint
http://linterrors.com
293 stars 35 forks source link

Explain "Unexpected '\'." #28

Open paulhhowells opened 10 years ago

paulhhowells commented 10 years ago

var json = {"content": "\u003c"};

causes the error: "Unexpected '\'."

as does: {"content": "\u003c"} which also gives a "bad json" warning.