Closed
Description
The following code will infinitely loop and alert "Child foo"
in MS Edge. All other browsers seem to handle this correctly.
class Base {
foo() {
alert('base foo');
}
}
class Child extends Base {
foo() {
const parent = () => super.foo;
alert('Child foo');
parent().call(this);
}
}
(new Child()).foo();
This breaks async / await transpilation with ES2015 out.