0

I am getting undefined at line 123. I think its something to do with the way I use promise/await and async due to the single threaded feature of JS.

Any thoughts to get this fixed. please comment

Warm Regards Kdm

enter image description here


enter image description here //

enter image description here

Anilal
  • 31
  • 1
  • 1
    Please post your code as code instead of as a image. Reduce your code to the minimum needed to reproduce the issue, (though is must be enough to reproduce the issue) – mousetail Apr 25 '22 at 17:15
  • Post also seems to be missing the error text – mousetail Apr 25 '22 at 17:16
  • You are running an async IIFE without awaiting it. I imagine you did that because you were trying to use `await` without changing your original function to `async` (I can't think of other reasons), but it won't work as you thought in this situation. – Aioros Apr 25 '22 at 17:18

0 Answers0