blob: cae68bdaa86c2079e1bfe6d5a3a1b602babff29f [file] [log] [blame]
Tests for ES6 arrow function lexical bind of arguments on top level
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo() threw exception ReferenceError: Can't find variable: arguments.
PASS boo() threw exception ReferenceError: Can't find variable: arguments.
PASS bar(true) threw exception ReferenceError: Can't find variable: arguments.
PASS bar(false) is "no-error"
PASS successfullyParsed is true
TEST COMPLETE