blob: 81a11da1dc8cb4afdea24b9b3eb4dce709abb15d [file] [log] [blame]
(function deleteSymbolFromJSSymbolTableObject(globalProxy) {
var symbolProperty = Symbol("test");
globalProxy[symbolProperty] = symbolProperty;
if (globalProxy[symbolProperty] !== symbolProperty)
throw new Error("bad value: " + String(globalProxy[symbolProperty]));
delete globalProxy[symbolProperty];
if (symbolProperty in globalProxy)
throw new Error("bad value: " + String(globalProxy[symbolProperty]));
})(this);