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