blob: aa981fc4a92e8c53c6a8434e645dcc762b75ce04 [file] [log] [blame]
function test() {
var object = {};
var symbol = Symbol();
var value = {};
if (Object.defineProperty) {
Object.defineProperty(object, symbol, { value: value });
return object[symbol] === value;
}
return passed;
}
if (!test())
throw new Error("Test failed");