Skip to content

Commit

Permalink
update 预解释
Browse files Browse the repository at this point in the history
  • Loading branch information
Brolly0204 committed Jun 28, 2017
1 parent 0977f7b commit d09d4fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 第一周/Day2/6.闭包.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
var f = foo(); // 通过从内部返回一个子函数 在外部接受 从而达到 访问和 修改内部私有变量目的

f(); // 在外界利用foo的子函数 修改foo内部中的私有变量
f(); // 在外界利用foo的子函数 修改和访问foo内部中的私有变量
f();


Expand Down
2 changes: 1 addition & 1 deletion 第一周/Day2/7.练习.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
// var obj = {
// num: 30,
// fn: (function (num) { // 接收自执行的返回值 作为fn这个属性的属性值
// num += 5;
// num += 5;
// return function () {
// console.log(num);
// }
Expand Down

0 comments on commit d09d4fd

Please sign in to comment.