diff options
Diffstat (limited to 'test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js')
-rw-r--r-- | test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js b/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js index a19bfedbc..0e35b7780 100644 --- a/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js +++ b/test/built-ins/Proxy/getOwnPropertyDescriptor/result-is-undefined-target-is-not-extensible.js @@ -16,17 +16,17 @@ info: | ---*/ var target = { - foo: 1 + foo: 1 }; var p = new Proxy(target, { - getOwnPropertyDescriptor: function(t, prop) { - return; - } + getOwnPropertyDescriptor: function(t, prop) { + return; + } }); Object.preventExtensions(target); assert.throws(TypeError, function() { - Object.getOwnPropertyDescriptor(p, "foo"); + Object.getOwnPropertyDescriptor(p, "foo"); }); |