Debian Codegraph @

js/src/jit-test/tests/arrow-functions/prototype-1.js

raw
1 // The prototype of an arrow function is Function.prototype.
2
3 assertEq(Object.getPrototypeOf(a => a), Function.prototype);
4 assertEq(Object.getPrototypeOf(() => {}), Function.prototype);