Sign in
webkit
/
WebKit
/
2e2cb00ac8a118644a070f63a7b5ac6a2db0e0aa
/
.
/
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"
);