Merge pull request #1546 from lumosmind/patch-14
function declaration vs function call conflict
This commit is contained in:
commit
e8947f7b58
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ Please note the additional `[[Environment]]` property is covered here. We didn't
|
|||
|
||||

|
||||
|
||||
Please note that on this step the inner function was created, but not yet called. The code inside `function() { return count++; }` is not running.
|
||||
Please note that on this step the inner function was created, but not yet called. The code inside `return count++;` is not running.
|
||||
|
||||
4. As the execution goes on, the call to `makeCounter()` finishes, and the result (the tiny nested function) is assigned to the global variable `counter`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue