async.each
does not block (asynchronously), means that the execution of your script continues while it is running. It also works in parallel, meaning that several elements are being processed at the same time. This is a method provided by an external library, I suppose async . This is not a built-in Javascript function and is not added to Array.prototype
, so you cannot write myArray.each
.
Array.forEach
(), , script . , , . forEach
- Javascript (spec) Array.proptotype
, myArray.forEach
Array.forEach(myArray)
. , , forEach
, forEach
.