MCPcopy Create free account
hub / github.com/microsoft/SandDance / isIdentifierPart

Function isIdentifierPart

docs/app/js/sanddance-app.js:143494–143496  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

143492 return ch === 0x24 || ch === 0x5F || ch >= 0x41 && ch <= 0x5A || ch >= 0x61 && ch <= 0x7A || ch === 0x5C || ch >= 0x80 && RegexNonAsciiIdentifierStart.test(String.fromCharCode(ch));
143493}
143494function isIdentifierPart(ch) {
143495 return ch === 0x24 || ch === 0x5F || ch >= 0x41 && ch <= 0x5A || ch >= 0x61 && ch <= 0x7A || ch >= 0x30 && ch <= 0x39 || ch === 0x5C || ch >= 0x80 && RegexNonAsciiIdentifierPart.test(String.fromCharCode(ch));
143496} // 7.6.1.1 Keywords
143497const keywords = {
143498 "if": 1,
143499 "in": 1,

Callers 3

getEscapedIdentifierFunction · 0.70
getIdentifierFunction · 0.70
scanRegExpFlagsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected