javascript中神奇的作用域
var scope = "s1"; var f = function(){ console.log(scope); // will print undefined var scope = "f1"; }