1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
7 Object.create - one property in 'Properties' is the global object
8 that uses Object's [[Get]] method to access the 'set' property
14 this.set = function(value) {
18 var newObj = Object.create({}, {
22 var hasProperty = newObj.hasOwnProperty("prop");
24 newObj.prop = "overrideData";
26 assert(hasProperty, 'hasProperty !== true');
27 assert.sameValue(data, "overrideData", 'data');