Nicholas Porter
1 min readJan 22, 2020

--

Great article. Just thought I’d add that using these built in functional methods are great for the sake of composition and readability, but if performance is a consideration of yours the regularforand while loops are much more performant.

Note: the for of loop is really slow too.

--

--

Nicholas Porter
Nicholas Porter

No responses yet