blob: b8d43f8abaebbc9c79d69eefdb3bd6f72cccbbbe [file] [log] [blame]
function test() {
var symbol = Symbol();
var symbolObject = Object(symbol);
return typeof symbolObject === "object" &&
symbolObject == symbol &&
symbolObject !== symbol &&
symbolObject.valueOf() === symbol;
}
if (!test())
throw new Error("Test failed");