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