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

Function isLineTerminator

docs/tests/v2/es6/js/sanddance.js:127952–127954  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

127950
127951
127952function isLineTerminator(ch) {
127953 return ch === 0x0A || ch === 0x0D || ch === 0x2028 || ch === 0x2029;
127954} // 7.6 Identifier Names and Identifiers
127955
127956
127957function isIdentifierStart(ch) {

Callers 3

skipCommentFunction · 0.70
scanStringLiteralFunction · 0.70
scanRegExpBodyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected