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