一直对函数作为参数被传递进另外一个函数理解的不是很清除。先看下这段代码吧:function test(fn){ var bar = 1; fn();}var bar = 99;test(function foo(){ console.log(bar);});console.log(foo);先说下结果为99和foo is not defined。...【阅读全文】
# For advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the# *** default location during install, ...【阅读全文】