diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-124.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-124.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-124.js b/test/built-ins/Object/create/15.2.3.5-4-124.js index d22aee94f..664fdd276 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-124.js +++ b/test/built-ins/Object/create/15.2.3.5-4-124.js @@ -7,13 +7,12 @@ description: > Object.create - one property in 'Properties' is the global object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a) -includes: [fnGlobalObject.js] ---*/ - fnGlobalObject().configurable = true; + this.configurable = true; var newObj = Object.create({}, { - prop: fnGlobalObject() + prop: this }); var result1 = newObj.hasOwnProperty("prop"); |