feat(search): part words search feature

This commit is contained in:
Alexey Kasyanchuk
2018-07-07 05:56:38 +03:00
parent ae56f697be
commit 8adcdac6f4
5 changed files with 98 additions and 7 deletions

View File

@ -0,0 +1,5 @@
module.exports = async function asyncForEach(array, callback) {
for (let index = 0; index < array.length; index++) {
await callback(array[index], index, array)
}
}