@smashingconf question for @mathias:
const arr = [];
let i = length;
while (i--) arr[i] = whatever;
Does are therefore become a holy array and deopt?
-
-
Yeah, sure it would work, but only if array elements are valid JSON types (and not references to some custom prototyped objects, for example), otherwise eval would be the only option. Am I missing something here?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
(We could change this in