I like how one of the primary languages today (JavaScript) doesn't have a built-in way to delete things from its built-in array. Well done!
@nothings Except supposedly this doesn't work for many of the semantics. I'm far from an expert, but eg. http://ejohn.org/blog/javascript-array-remove/ …
-
-
@cmuratori@nothings Splice works but apparently Resig's is slightly faster. See discussion between Resig and Eich in comments. -
@pervognsen@cmuratori Resig: "your code is definitely faster and decidedly shorter. Now I’m trying to remember why I [didn't] use splice" - Show replies
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.