There are a few JS things that even the ES6 spec leaves as "implementation-defined". One is passing a non-function to an array's .sort()
@webbedspace @zarawesome what would you expect it to do when passed an object?
-
-
@increpare Well, Firefox gives a more helpful error message, "TypeError: ({}) is not a function". -
@increpare Also, while you're up, here's more "implementation-defined" behavior that the spec washes its hands of: http://i.imgur.com/OEeTInZ.png
End of conversation
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.