You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had a couple of requests for adding Object.create into augment. I'm reluctant to do so because it isn't possible (to my knowledge) to fully implement this method in JavaScript.
I don't think adding a half implemented version of Object.create is something that augment should be doing. All the other methods that augment adds are nearly identical to their native counterparts, which makes it possible to just start using them now and forget about browser support. This wouldn't be possible with the proposed implementation of Object.create.
Only adds 10 LOC: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/create
Or was there a reason to exclude it? There are Object extensions already, so...
The text was updated successfully, but these errors were encountered: