BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / Reflect_Reflect.getOwnPropertyDescriptor.js
1 function test() {
2
3 var obj = { baz: 789 };
4 var desc = Reflect.getOwnPropertyDescriptor(obj, "baz");
5 return desc.value === 789 &&
6   desc.configurable && desc.writable && desc.enumerable;
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12