how to sync loop javascript code example
Example: javascript + sync for loop
for(const elment of arrayElements) {
await yourFunc(elment)
await yourOtherFunc('somePatameter')
}
for(const elment of arrayElements) {
await yourFunc(elment)
await yourOtherFunc('somePatameter')
}