node中的異步操做

js代碼 var doSometing=function(callback){ setTimeout(function() { var food="炸薯條"; callback(food); }, 10000); console.log("配餐"); console.log("配餐"); console.log("配
相關文章
相關標籤/搜索