? 1:function test() {? ?2: ? ?console.log(a);? ?3: ? ?console.log(foo());? ?4:var a = 1;? ?5:function foo() {? ?6:return 2;? ?7: ? ?}? ?8: }? ?9:? 10: test();
這個(gè)算不算是閉包呢
Echo_Chien
2016-10-11 15:51:30