title: async call is not working inside this block in JS
body: <p>I am trying to use forEach in array of object and based on the following condition send a request and get that response for using in the other call. Here is the code:</p>
  <pre><code>  products.forEach(product =&gt; {
      if (
        product.type === 'shows' &amp;&amp;
        product.isSoldOut &amp;&amp;
        product.otherData
      ) {
        delete product.brand.brandId
        product.brand.isTop = true
        const res = apiService.create(product.brand)
        console.log(res)
      }
    })
  </code></pre>
  <p>When I add await <code>const res = await apiService.create(product.brand)</code> here it shows a warning too. How can I use async await in this scenario or is there other way to overcome this issue?</p>