blob: 3df2c495fb9ff1e276330f153c140bb5ff5f49d3 [file] [log] [blame]
Tests for ES6 arrow function, access to the super property in arrow function
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS (new B()).getValueParentFunction() is expectedValue
PASS (new C(false)).value is expectedValue
PASS E.getParentStaticValue() is expectedValue
PASS f.prop is expectedValue + "-" + expectedValue
PASS f.prop is expectedValue + "-" + "new-value"
PASS (new F()).getParentValue() is expectedValue
PASS (new F()).getParentValueWithError()() threw exception TypeError: undefined is not an object (evaluating 'super.getValue').
PASS successfullyParsed is true
TEST COMPLETE