13 lines
375 B
Plaintext
13 lines
375 B
Plaintext
Tests for ES6 arrow function instanceof and typeof operators
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS Object.getPrototypeOf(simpleArrowFunction) is Function.prototype
|
|
PASS simpleArrowFunction instanceof Function is true
|
|
PASS simpleArrowFunction.constructor == Function is true
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|