it turns out a quirk of converting
to
class Foo extends Object {}
is that Object.getPrototypeOf(Foo) == Object when it should be Object.getPrototypeOf(Foo) == Function.prototype.
this is easily fixable but I'm probably not going to since I don't maintain this repository any more. you'll probably want to fix this if you're forking this repo though
it turns out a quirk of converting
to
is that
Object.getPrototypeOf(Foo) == Objectwhen it should beObject.getPrototypeOf(Foo) == Function.prototype.this is easily fixable but I'm probably not going to since I don't maintain this repository any more. you'll probably want to fix this if you're forking this repo though