TL;DR Ember added contains
before it was slated for ES7. When the contains
(now includes
) spec did arrive, it was a bit of a problem that Ember was “squatting” the method name with a slightly different implementation. Fortunately, Ember had been designed to “eventually align” with javascript as it becomes more capable. Thus, this was the moment prototype extensions were retired as a default.
Created
November 1, 2017 09:50
-
-
Save jgwhite/5783a2fe8809bd10fb65cf3dd3bfa440 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment