Closed ljharb closed 9 years ago
Isn't .toMethod()
's primary purpose re-binding the super
keyword within a function? How could you sham that?
Yep, you're correct - it deals with the ES6 class
keyword and super
- specifically the internal [[HomeObject]]
slot. This isn't shimmable.
I think this might be shimmable, but it's worth investigating.