diff options
Diffstat (limited to 'test/built-ins/Proxy/apply/trap-is-null.js')
-rw-r--r-- | test/built-ins/Proxy/apply/trap-is-null.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/Proxy/apply/trap-is-null.js b/test/built-ins/Proxy/apply/trap-is-null.js index e19cf8445..8bb87786c 100644 --- a/test/built-ins/Proxy/apply/trap-is-null.js +++ b/test/built-ins/Proxy/apply/trap-is-null.js @@ -31,7 +31,9 @@ function target(a, b) { } var ctx = {}; -var p = new Proxy(target, {apply: null}); +var p = new Proxy(target, { + apply: null +}); var res = p.call(ctx, 1, 2); assert.sameValue(res, 3, "`apply` trap is `null`"); assert.sameValue(calls, 1, "target is called once"); |