From 67790aa261a4b63f2ac34d75974fe8697eaa1a8c Mon Sep 17 00:00:00 2001 From: Alex Zvorygin Date: Wed, 20 Sep 2017 11:52:58 -0400 Subject: [PATCH] change incorrect variable name solution and problem statement have the calls stored in `calls`, not `log` --- .../09-call-apply-decorators/01-spy-decorator/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/09-call-apply-decorators/01-spy-decorator/solution.md b/1-js/06-advanced-functions/09-call-apply-decorators/01-spy-decorator/solution.md index 4a79d3e1..19a07201 100644 --- a/1-js/06-advanced-functions/09-call-apply-decorators/01-spy-decorator/solution.md +++ b/1-js/06-advanced-functions/09-call-apply-decorators/01-spy-decorator/solution.md @@ -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. +Here we can use `calls.push(args)` to store all arguments in the log and `f.apply(this, args)` to forward the call.