Home
last modified time | relevance | path

Searched refs:kUTF16SurrogateThreshold (Results 1 – 1 of 1) sorted by relevance

/third_party/node/lib/internal/readline/
Dutils.js16 const kUTF16SurrogateThreshold = 0x10000; // 2 ** 16 constant
44 StringPrototypeCodePointAt(str, i - 2) >= kUTF16SurrogateThreshold) ||
45 StringPrototypeCodePointAt(str, i - 1) >= kUTF16SurrogateThreshold) {
57 return StringPrototypeCodePointAt(str, i) >= kUTF16SurrogateThreshold ? 2 : 1;