摘要:
function foo() { var a = 7; console.log(a);//7 console.log(b);//b is not defined (function b() { a = 77; })(); console.log(a);//77 } foo(); var c=func 阅读全文
摘要:
function a(arg) { console.log('this is a'); arg(); } function b(arg) { console.log('this is b'); arg(); } function c(arg) { console.log('this is c'); 阅读全文