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