mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
7 lines
153 B
TypeScript
7 lines
153 B
TypeScript
// @target: es5
|
|
|
|
// ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
|
|
// 2. If cp ≤ 65535, return cp.
|
|
// (FFFF == 65535)
|
|
var x = /\u{FFFF}/g;
|