Sign in
webkit
/
WebKit
/
9f9c15eb6fdc193d77c7e606d643d4b8ec49399b
/
.
/
JSTests
/
es6
/
Reflect_Reflect.getOwnPropertyDescriptor.js
blob: 4492f66bc053c29ff1c3db849343bbf0cc28b1ae [
file
] [
log
] [
blame
]
function
test
()
{
var
obj
=
{
baz
:
789
};
var
desc
=
Reflect
.
getOwnPropertyDescriptor
(
obj
,
"baz"
);
return
desc
.
value
===
789
&&
desc
.
configurable
&&
desc
.
writable
&&
desc
.
enumerable
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);