Change postfix increment operators to prefix.

This commit is contained in:
John-David Dalton
2016-08-27 15:46:40 -07:00
parent 4dfbde7716
commit 4446fb13a3

View File

@@ -1082,7 +1082,7 @@
while (length--) {
if (array[length] === placeholder) {
result++;
++result;
}
}
return result;
@@ -1346,7 +1346,7 @@
function unicodeSize(string) {
var result = reUnicode.lastIndex = 0;
while (reUnicode.test(string)) {
result++;
++result;
}
return result;
}