node.js 进行函数传递

function say(Something){
    console.log(Something);
}
function excute(someFunc,value){
    someFunc(value);
}
excute(say,"hello");

 

posted @ 2015-09-17 17:19  露西涂  阅读(134)  评论(0)    收藏  举报