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