13 lines
382 B
JavaScript
13 lines
382 B
JavaScript
//// [unicodeExtendedEscapesInTemplates09_ES5.ts]
|
|
|
|
// ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
|
|
// 2. If cp ≤ 65535, return cp.
|
|
// (10000 == 65536)
|
|
var x = `\u{10000}`;
|
|
|
|
|
|
//// [unicodeExtendedEscapesInTemplates09_ES5.js]
|
|
// ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
|
|
// 2. If cp ≤ 65535, return cp.
|
|
// (10000 == 65536)
|
|
var x = "\ud800\udc00";
|