@@ -87,33 +87,33 @@ if (process.binding('config').hasIntl) {
87
87
if (
88
88
code >= 0x1100 && (
89
89
code <= 0x115f || // Hangul Jamo
90
- 0x2329 === code || // LEFT-POINTING ANGLE BRACKET
91
- 0x232a === code || // RIGHT-POINTING ANGLE BRACKET
90
+ code === 0x2329 || // LEFT-POINTING ANGLE BRACKET
91
+ code === 0x232a || // RIGHT-POINTING ANGLE BRACKET
92
92
// CJK Radicals Supplement .. Enclosed CJK Letters and Months
93
- ( 0x2e80 <= code && code <= 0x3247 && code !== 0x303f ) ||
93
+ code >= 0x2e80 && code <= 0x3247 && code !== 0x303f ||
94
94
// Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
95
- 0x3250 <= code && code <= 0x4dbf ||
95
+ code >= 0x3250 && code <= 0x4dbf ||
96
96
// CJK Unified Ideographs .. Yi Radicals
97
- 0x4e00 <= code && code <= 0xa4c6 ||
97
+ code >= 0x4e00 && code <= 0xa4c6 ||
98
98
// Hangul Jamo Extended-A
99
- 0xa960 <= code && code <= 0xa97c ||
99
+ code >= 0xa960 && code <= 0xa97c ||
100
100
// Hangul Syllables
101
- 0xac00 <= code && code <= 0xd7a3 ||
101
+ code >= 0xac00 && code <= 0xd7a3 ||
102
102
// CJK Compatibility Ideographs
103
- 0xf900 <= code && code <= 0xfaff ||
103
+ code >= 0xf900 && code <= 0xfaff ||
104
104
// Vertical Forms
105
- 0xfe10 <= code && code <= 0xfe19 ||
105
+ code >= 0xfe10 && code <= 0xfe19 ||
106
106
// CJK Compatibility Forms .. Small Form Variants
107
- 0xfe30 <= code && code <= 0xfe6b ||
107
+ code >= 0xfe30 && code <= 0xfe6b ||
108
108
// Halfwidth and Fullwidth Forms
109
- 0xff01 <= code && code <= 0xff60 ||
110
- 0xffe0 <= code && code <= 0xffe6 ||
109
+ code >= 0xff01 && code <= 0xff60 ||
110
+ code >= 0xffe0 && code <= 0xffe6 ||
111
111
// Kana Supplement
112
- 0x1b000 <= code && code <= 0x1b001 ||
112
+ code >= 0x1b000 && code <= 0x1b001 ||
113
113
// Enclosed Ideographic Supplement
114
- 0x1f200 <= code && code <= 0x1f251 ||
114
+ code >= 0x1f200 && code <= 0x1f251 ||
115
115
// CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
116
- 0x20000 <= code && code <= 0x3fffd
116
+ code >= 0x20000 && code <= 0x3fffd
117
117
)
118
118
) {
119
119
return true ;
0 commit comments