We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ec116b commit 5490d46Copy full SHA for 5490d46
1 file changed
src/Data/String/CodePoints.js
@@ -74,8 +74,8 @@ exports._fromCodePointArray = function (singleton) {
74
return hasFromCodePoint
75
? function (cps) {
76
// Function.prototype.apply will fail for very large second parameters,
77
- // so we don't use it for arrays with 10KB or more entries.
78
- if (cps.length < 10240) {
+ // so we don't use it for arrays with 10,000 or more entries.
+ if (cps.length < 10e3) {
79
return String.fromCodePoint.apply(String, cps);
80
}
81
return cps.map(singleton).join("");
0 commit comments