diff options
Diffstat (limited to 'test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js')
-rw-r--r-- | test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js b/test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js index 145073b72..1e58f30f7 100644 --- a/test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js +++ b/test/built-ins/Proxy/has/return-true-target-prop-exists-using-with.js @@ -9,17 +9,17 @@ flags: [noStrict] ---*/ var target = { - attr: 1 + attr: 1 }; var p = new Proxy(target, { - has: function(t, prop) { - if (prop !== "assert") { - return 42; - } + has: function(t, prop) { + if (prop !== "assert") { + return 42; } + } }); var attr = 0; -with (p) { - assert.sameValue(attr, 1); +with(p) { + assert.sameValue(attr, 1); } |