perf: Use increment operator

This commit is contained in:
Daniel Tschinder 2019-01-15 12:58:07 -08:00
parent 25a8db2a29
commit a7757ec4d0

View File

@ -1303,7 +1303,7 @@ export default class Tokenizer extends LocationParser {
if (isIdentifierChar(ch)) {
this.state.pos += ch <= 0xffff ? 1 : 2;
} else if (this.state.isIterator && ch === charCodes.atSign) {
this.state.pos += 1;
++this.state.pos;
} else if (ch === charCodes.backslash) {
this.state.containsEsc = true;