Sign in
webkit
/
WebKit
/
9c8be771a698cc743f1dc94e95a2f7a35fcb0bb1
/
.
/
JSTests
/
microbenchmarks
/
object-get-prototype-of-primitive.js
blob: 18f97a4c8af6bdade3fc43839586e7584531e4a4 [
file
] [
log
] [
blame
]
const
sym
=
Symbol
();
function
test
()
{
Object
.
getPrototypeOf
(
false
);
Object
.
getPrototypeOf
(-
1
);
Object
.
getPrototypeOf
(
""
);
Object
.
getPrototypeOf
(
sym
);
Object
.
getPrototypeOf
(
3n
);
}
noInline
(
test
);
for
(
let i
=
0
;
i
<
1e7
;
++
i
)
test
();