michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: */ michael@0: michael@0: for each(let c in [0, 0, 0, 0, 0]) { michael@0: try { (function() { michael@0: this.c = this; michael@0: this.e = arguments; michael@0: Object.defineProperty(this, "d", { michael@0: get: Math.pow, michael@0: configurable: true michael@0: }); michael@0: delete this.e; michael@0: delete this.c; michael@0: Object.defineProperty(this, "d", { michael@0: writable: true michael@0: }); michael@0: if (Math.tan( - 1)) { michael@0: Object.defineProperty(this, {}); michael@0: } michael@0: } (c)); michael@0: } catch(e) {} michael@0: } michael@0: michael@0: reportCompare(0, 0, "ok");