I’ll never new Array(length) again. Holy holey @mathias , although the fact typed Arrays want length upfront can be confusing! #NodeConfAr17
-
-
But, to be clear, that one doesn't result in a holey array, right? https://gist.github.com/bendc/17ea948bea5848a0e112ece8840bcfdd …
- End of conversation
New conversation -
-
-
my way is surely simpler? :-) Although this is just proof that I haven't properly embraced the new world order yet, I suspect
-
I wouldn’t say it’s simpler, necessarily. Easy to forget the +1, i.e. to use `26` instead of `25` if you want 25 elements.
- 1 more reply
New conversation -
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.