Sign in
webkit
/
WebKit
/
d5bc8626ff9394ad3cac4aff99be89e91a8d2265
/
.
/
JSTests
/
es6
/
Reflect_Reflect.preventExtensions.js
blob: ce24877480a5deb11f4069766b901e1f7d4ffc95 [
file
] [
log
] [
blame
]
function
test
()
{
var
obj
=
{};
Reflect
.
preventExtensions
(
obj
);
return
!
Object
.
isExtensible
(
obj
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);