mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Change postfix increment operators to prefix.
This commit is contained in:
@@ -1082,7 +1082,7 @@
|
|||||||
|
|
||||||
while (length--) {
|
while (length--) {
|
||||||
if (array[length] === placeholder) {
|
if (array[length] === placeholder) {
|
||||||
result++;
|
++result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@@ -1346,7 +1346,7 @@
|
|||||||
function unicodeSize(string) {
|
function unicodeSize(string) {
|
||||||
var result = reUnicode.lastIndex = 0;
|
var result = reUnicode.lastIndex = 0;
|
||||||
while (reUnicode.test(string)) {
|
while (reUnicode.test(string)) {
|
||||||
result++;
|
++result;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user