feat(search): part words search feature
This commit is contained in:
5
src/background/asyncForEach.js
Normal file
5
src/background/asyncForEach.js
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user