swc/tests/tsc-references/es6/Symbols/symbolProperty22/input.ts/es5.2.minified/output.js

12 lines
286 B
JavaScript

foo("", function(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value, obj;
}({
}, Symbol.unscopables, function(s) {
return s.length;
}));