Break before unnecessary string concats in _.repeat.

This commit is contained in:
libreninja
2016-03-12 11:16:45 -08:00
committed by John-David Dalton
parent 81f8518d15
commit f8bcc5b917

View File

@@ -13115,7 +13115,9 @@
result += string; result += string;
} }
n = nativeFloor(n / 2); n = nativeFloor(n / 2);
string += string; if (n) {
string += string;
}
} while (n); } while (n);
return result; return result;