Skip to content

Commit 67790aa

Browse files
authored
change incorrect variable name
solution and problem statement have the calls stored in `calls`, not `log`
1 parent ab13ef8 commit 67790aa

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/09-call-apply-decorators/01-spy-decorator

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Here we can use `log.push(args)` to store all arguments in the log and `f.apply(this, args)` to forward the call.
1+
Here we can use `calls.push(args)` to store all arguments in the log and `f.apply(this, args)` to forward the call.

0 commit comments

Comments
 (0)