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