JS: Call stack size exceeded
Some time ago I was working with big arrays of about 2.000.000 elements. One of the operations was to find the maximum value in the array.
Sounds simple, right? We can use Max.max:
const arr = new Array(2000000);
...
const max = Math.max(...arr);
Ho...
blog.xnim.me3 min read
rain84
JS, TS, React, TailwindCSS, NextJS
Interesting, thank you.