node.js 进行函数传递
function say(Something){ console.log(Something); } function excute(someFunc,value){ someFunc(value); } excute(say,"hello");
function say(Something){ console.log(Something); } function excute(someFunc,value){ someFunc(value); } excute(say,"hello");