Closed mmndaniel closed 1 year ago
Object.defineProperty(Object.prototype, 'haha', { enumerable: true, value: undefined }); var f = document.createElement('iframe'); try { document.head.appendChild(f); } catch (e) {} f.contentWindow.alert(1);
Should use the Object from natives and Object.create(null)...
Object
natives
Object.create(null)
Brilliant!
Should use the
Object
fromnatives
andObject.create(null)
...