ECMAScript quiz: which method from Array.prototype can cause getter invocations on Array.prototype when used on a normal array?
-
-
Replying to @tehjh
concat copyWithin every filter find findIndex forEach includes indexOf join lastIndexOf map pop reduce[Right] reverse shift slice etc
1 reply 0 retweets 0 likes -
Replying to @awbjs
most of these only trigger because of the lookup of the function itself though
2 replies 0 retweets 0 likes -
at least one of these still triggers when you're using a saved copy of the method
1 reply 0 retweets 0 likes
unless I'm missing something
4:28 PM - 29 Oct 2016
0 replies
0 retweets
0 likes
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.