Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
prototype-1.js
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
);