I got this error from jslint:
fn("FAILED—" + message);
The '—' is char 226 or 0xe2. It is not ascii, but I was wondering why it
mattered since it is in a quoted string. I didnt not see any reference
to "Unsafe character" on the website.
- --- In email@example.com, Cory Bennett <coryb@...> wrote:
> I got this error from jslint:why it
> Unsafe character.
> fn("FAILEDâ"" + message);
> The 'â"' is char 226 or 0xe2. It is not ascii, but I was wondering
> mattered since it is in a quoted string.There are characters that are handled inconsistently in the various
implementations, and so must be escaped when placed in strings, and
must never be used outside of strings: