blob: 57922420f105da8f6b051ab65312706c4a17f6fc [file] [log] [blame]
// The prototype of an arrow function is Function.prototype.
assertEq(Object.getPrototypeOf(a => a), Function.prototype);
assertEq(Object.getPrototypeOf(() => {}), Function.prototype);