4 ms·
Hi John. Big lists are a good point. I didn't think of that. Cheers. function ta() { window.la = arguments.length; } for (var i = 1; i < 32
by geocar 2y ago
Hi John. Big lists are a good point. I didn't think of that. Cheers.
function ta() {
window.la = arguments.length;
}
for (var i = 1; i < 32; i++) {
var list = new Array(1<<i);
ta(...list)
}
la is only 65536 in Safari and Chrome; 262144 on Firefox. I have no idea what MSIE does. Using ta.apply(null,list) gives same results.