Skip to content

Commit f6ac7cb

Browse files
committed
Shorten chars string coersion.
1 parent c1958da commit f6ac7cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lodash.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13919,7 +13919,7 @@
1391913919
if (guard || chars === undefined) {
1392013920
return string.replace(reTrim, '');
1392113921
}
13922-
chars = (chars + '');
13922+
chars += '';
1392313923
if (!chars) {
1392413924
return string;
1392513925
}
@@ -13958,7 +13958,7 @@
1395813958
if (guard || chars === undefined) {
1395913959
return string.replace(reTrimEnd, '');
1396013960
}
13961-
chars = (chars + '');
13961+
chars += '';
1396213962
if (!chars) {
1396313963
return string;
1396413964
}
@@ -13995,7 +13995,7 @@
1399513995
if (guard || chars === undefined) {
1399613996
return string.replace(reTrimStart, '');
1399713997
}
13998-
chars = (chars + '');
13998+
chars += '';
1399913999
if (!chars) {
1400014000
return string;
1400114001
}

0 commit comments

Comments
 (0)