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
In ECMAScript 6 has been introduced the \u{...} syntax (valid both in
identifiers and strings).
Astral unicode points are now valid.
Examples:
var \u{65}; // var \u0061;
var \u{102A7}; // astral code point
var 𐊧; // 𐊧 is U+102A7
var a = "\u{65}"; // var a = "\u0065";
var a = "\u{102A7}"; // var a = "\uD800\uDEA7";
Closesjshint#2406
In ECMAScript 6 has been introduced the \u{...} syntax (valid both in
identifiers and strings).
Astral unicode points are now valid.
Examples:
var \u{65}; // var \u0061;
var \u{102A7}; // astral code point
var 𐊧; // 𐊧 is U+102A7
var a = "\u{65}"; // var a = "\u0065";
var a = "\u{102A7}"; // var a = "\uD800\uDEA7";
Closesjshint#2406
In ECMAScript 6 has been introduced the \u{...} syntax (valid both in
identifiers and strings).
Astral unicode points are now valid.
Examples:
var \u{65}; // var \u0061;
var \u{102A7}; // astral code point
var 𐊧; // 𐊧 is U+102A7
var a = "\u{65}"; // var a = "\u0065";
var a = "\u{102A7}"; // var a = "\uD800\uDEA7";
Closesjshint#2406
Example:
Spec:
11.6 Names and Keywords
11.6.1.1 Static Semantics: Early Errors
11.8.4 String Literals
11.8.4.1 Static Semantics: Early Errors
(
1114111
10 =10FFFF
16)The text was updated successfully, but these errors were encountered: