blob: 9acb7ef64cff0df110ef6b5a5e7c94e13a5eadf1 [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 (new C(true)) threw exception ReferenceError: Cannot access uninitialized variable..
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()).genGetParentValue().next().value is expectedValue
PASS (new F()).genGetParentValueDeepArrow().next().value is expectedValue
PASS successfullyParsed is true
TEST COMPLETE