Sign in
webkit
/
WebKit
/
2a0aecef68e2ca0674a52b051412def7e6b01404
/
.
/
JSTests
/
es6
/
miscellaneous_accessors_arent_constructors.js
blob: b6966fea64d88d52d372398e4fd57efa7d168076 [
file
] [
log
] [
blame
]
function
test
()
{
try
{
new
(
Object
.
getOwnPropertyDescriptor
({
get
a
(){}},
'a'
)).
get
;
}
catch
(
e
)
{
return
true
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);