4 ms·
good stuff but something was mis-transcribed. This line can't possibly work for (const i = data.length; i-- > 0; ) {
by greggman3 4y ago
good stuff but something was mis-transcribed. This line can't possibly work
for (const i = data.length; i-- > 0; ) {
- chrismorgan 4y agoThe original used var for both i and rounded. let would work here.
- mhagemeister 4y agoAuthor here. Whoops, good catch! That's definitely an error on my part. The original code uses `var` there. Thanks for pointing it out.