| // Copyright (c) 2012 Ecma International. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| Object.defineProperty - 'Attributes' is an Arguments object which |
| implements its own [[Get]] method to access the 'set' property |
| var argObj = (function () { return arguments; })(); |
| argObj.set = function (value) { |
| Object.defineProperty(obj, "property", argObj); |
| obj.property = "overrideData"; |
| assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true'); |
| assert.sameValue(data, "overrideData", 'data'); |