Skip to content

Commit 0cbdf51

Browse files
Fix terminology in PR
1 parent 2dd0221 commit 0cbdf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/function/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ above.
9797
}
9898

9999
The other popular way to acheive this is to add an additional argument to
100-
the setTimeout function, which behaves as a closure.
100+
the setTimeout function, which passes these arguments to the callback.
101101

102102
for(var i = 0; i < 10; i++) {
103103
setTimeout(function(e) {

0 commit comments

Comments
 (0)