Source code
Revision control
Copy as Markdown
Other Tools
// The prototype of an arrow function is Function.prototype.
assertEq(Object.getPrototypeOf(a => a), Function.prototype);
assertEq(Object.getPrototypeOf(() => {}), Function.prototype);