Skip to content

Commit 04fdd7b

Browse files
authored
Fixing the output type for proxy.call
1 parent 5555516 commit 04fdd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/functions-concepts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ const proxy = new Proxy(function () { console.log(arguments); }, {
673673

674674
// driver code
675675
proxy(1, 2, 3); // Proxy apply is invoked on target with context: undefined, arguments: 1,2,3
676-
proxy.call({}, 1, 2); // Proxy apply is invoked on target with context: undefined, arguments: 1,2,3
676+
proxy.call({}, 1, 2); // Proxy apply is invoked on target with context: [object Object], arguments: 1,2,3
677677
proxy.apply({}, [5, 10]); // Proxy apply is invoked on target with context: [object Object], arguments: 5,10
678678
```
679679

0 commit comments

Comments
 (0)