| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/57350 |
Sorry, something went wrong.
|
Finally reviewing this, sorry it took so long.
This is covered by the constantSuper assumption, right? Can you add a test for the execution order between property access and arguments evaluation? let argsEval = false;
let err = {};
class A {
get x() { throw {} }
}
class B extends A {
method() {
super.x(argsEval = true);
}
}
expect(() => new B().method()).toThrow(err);
expect(argsEval).toBe(false); |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I personally don't like having to call getPrototypeOf every time because it's slow, but we have a test that relies on this behavior.
