Is Node.js Array.map() asynchronous?

前端 未结 6 1258
遥遥无期
遥遥无期 2020-12-24 13:10

Can I count on nodeIDs mapping is completed every time doSomething() is called?

nodeIDs = $.map(nodeIDs, function(n){
    return n.match(/\\d+$/);
});
doSome         


        
6条回答
提交回复
热议问题