MCPcopy Create free account
hub / github.com/browserify/static-module / codePointToString$1

Function codePointToString$1

bench/input.js:3572–3576  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

3570};
3571
3572function codePointToString$1(ch) {
3573 if (ch <= 0xFFFF) { return String.fromCharCode(ch) }
3574 ch -= 0x10000;
3575 return String.fromCharCode((ch >> 10) + 0xD800, (ch & 0x03FF) + 0xDC00)
3576}
3577
3578/**
3579 * Validate the flags part of a given RegExpLiteral.

Callers 1

input.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…