diff options
Diffstat (limited to 'test/language/expressions/delete/11.4.1-4.a-8-s.js')
-rw-r--r-- | test/language/expressions/delete/11.4.1-4.a-8-s.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/expressions/delete/11.4.1-4.a-8-s.js b/test/language/expressions/delete/11.4.1-4.a-8-s.js index a0dd257ef..3d4bdcd0f 100644 --- a/test/language/expressions/delete/11.4.1-4.a-8-s.js +++ b/test/language/expressions/delete/11.4.1-4.a-8-s.js @@ -10,10 +10,10 @@ description: > delete operator throws TypeError when deleting a non-configurable data property in strict mode flags: [onlyStrict] -includes: [fnGlobalObject.js] ---*/ +var global = this; // NaN (15.1.1.1) has [[Configurable]] set to false. assert.throws(TypeError, function() { - delete fnGlobalObject().NaN; + delete global.NaN; }); |