Skip to content

Commit 7d6f3e8

Browse files
7anshuaiscottgonzalez
authored andcommitted
Closures: Fix a link
Closes jquerygh-446
1 parent 90a8bc8 commit 7d6f3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/closures.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ attribution:
88

99
Closures are an extension of the concept of scope. With closures, functions have access to variables that were available in the scope where the function was created. If that seems confusing, don’t worry: closures are generally best understood by example.
1010

11-
As shown in the [Functions](/functions/) section, functions have access to changing variable values. The same sort of behavior exists with functions defined within loops – the function "sees" the change in the variable's value even after the function is defined, resulting in each function referencing the last value stored in the variable.
11+
As shown in the [Scope](/scope/) section, functions have access to changing variable values. The same sort of behavior exists with functions defined within loops – the function "sees" the change in the variable's value even after the function is defined, resulting in each function referencing the last value stored in the variable.
1212

1313
```
1414
// Each function executed within the loop will reference

0 commit comments

Comments
 (0)