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