blob: a79931c3debcb5027ad14fd1547e5aba038b4b11 [file] [log] [blame]
// Inspired by mozilla tests
description('Tests for ES6 arrow function instanceof and typeof operators');
var simpleArrowFunction = () => {};
shouldBe("Object.getPrototypeOf(simpleArrowFunction)", "Function.prototype");
shouldBe("simpleArrowFunction instanceof Function", "true");
shouldBe("simpleArrowFunction.constructor == Function", "true");
var successfullyParsed = true;