We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38eb80 commit 4f3d71dCopy full SHA for 4f3d71d
src/Data/String/CodePoints.js
@@ -31,10 +31,6 @@ exports._codePointAt = function (fallback) {
31
if (o.done) return Nothing;
32
if (i === 0) return Just(unsafeCodePointAt0(o.value));
33
}
34
- } else if (hasArrayFrom) {
35
- var cps = Array.from(str);
36
- if (index >= cps.length) return Nothing;
37
- return Just(unsafeCodePointAt0(cps[index]));
38
39
return fallback(index)(str);
40
};
0 commit comments