O'Reilly logo
  • Nivan Morgan thinks this is interesting:

In addition to the regular space character (\u0020), JavaScript also recognizes the following characters as whitespace: tab (\u0009), vertical tab (\u000B), form feed (\u000C), nonbreaking space (\u00A0), byte order mark (\uFEFF), and any character in Unicode category Zs. JavaScript recognizes the following characters as line terminators: line feed (\u000A), carriage return (\u000D), line separator (\u2028), and paragraph ...

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

using special characters in Js