Skip to content

Commit

Permalink
Return consistent boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk authored and marijnh committed Jan 13, 2023
1 parent 724f1e0 commit 75faae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acorn/src/identifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function isInAstralSet(code, set) {
pos += set[i + 1]
if (pos >= code) return true
}
return false
}

// Test whether a given character code starts an identifier.
Expand Down

0 comments on commit 75faae6

Please sign in to comment.