Skip to content

Commit 24e5a0f

Browse files
committed
Closures: Fix typo
Closes jquerygh-458
1 parent b137fd2 commit 24e5a0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

page/javascript-101/closures.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Closures can also be used to resolve issues with the `this` keyword, which is un
4444
var outerObj = {
4545
myName: "outer",
4646
outerFunction: function() {
47-
// provide a reference to outerObj through innerFunction"s closure
47+
48+
// Provide a reference to outerObj through innerFunction's closure
4849
var self = this;
4950
var innerObj = {
5051
myName: "inner",

0 commit comments

Comments
 (0)