by tvier · 1y ago · 0 comments
> ... no function call overhead.
This code has more function calls. O(n) vs 3 for the original
If I run this in the JS console I get two anonymous stack frames. The first being the console itself.
[1, 2, 3].filter(x => [][0]())