Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
es6
/
Object_static_methods_accept_primitives_Object.getPrototypeOf.js
blob: 86ff25bfd436b981a599afb9e636636dd9d68075 [
file
] [
log
] [
blame
]
function
test
()
{
return
Object
.
getPrototypeOf
(
'a'
).
constructor
===
String
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);