Merge bb0a762d12 into 8cc86fee60
This commit is contained in:
commit
ae6c27a7e4
|
|
@ -170,7 +170,7 @@ function is_identifier_char(ch) {
|
|||
function is_identifier_string(str){
|
||||
var i = str.length;
|
||||
if (i == 0) return false;
|
||||
if (is_digit(str.charCodeAt(0))) return false;
|
||||
if (!is_identifier_start(str.charCodeAt(0))) return false;
|
||||
while (--i >= 0) {
|
||||
if (!is_identifier_char(str.charAt(i)))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user