reduce test exports (#3361)

This commit is contained in:
Alex Lam S.L
2019-04-17 16:19:08 +08:00
committed by GitHub
parent 5172ba5f2a
commit 21cd7e3f57
3 changed files with 3 additions and 10 deletions

View File

@@ -164,10 +164,6 @@ function is_unicode_connector_punctuation(ch) {
return UNICODE.connector_punctuation.test(ch);
}
function is_identifier(name) {
return !RESERVED_WORDS[name] && /^[a-z_$][a-z0-9_$]*$/i.test(name);
}
function is_identifier_start(code) {
return code == 36 || code == 95 || is_letter(code);
}