I'm actually diving into the asyc/await part for the first time so I am having a hard time understanding it.
I know that async await is used to make a function run in an async manner but how, because as per the definition, the "await" keyword halts the execution of a function until the promise is resolved, and then executes the leftover code in the function. Isn't this a synchronous behaviour, because things are getting executed in order as they should be?
Feel free to help me out of my confusion or if I am wrong somewhere.