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