var async = require('async');
function f1() {
setTimeout(function(){ console.log('111');},300);
}
function f2() {
setTimeout(function(){ console.log('222');},100);
}
async.series([f1,f2], function(err, result){
console.log(result);
});
它打印:
111
没有222
?为什么?