The example you show with async/await allows you to write asynchronous code in a "synchronous" say, but it is still asynchronous.
If that's what you were trying to demonstrate, then the title of the post is misleading. I imagine it would confuse others as well and especially those who might be new to JS. 😉
Just to clarify, this is still asynchronous code, i.e. Promise and async/await.
yes. still asynchronous but work like synchronized way. isn't it?
The example you show with async/await allows you to write asynchronous code in a "synchronous" say, but it is still asynchronous.
If that's what you were trying to demonstrate, then the title of the post is misleading. I imagine it would confuse others as well and especially those who might be new to JS. 😉
I read about it and now I really feel the same way with you. Thanks for such a nice compliment. :)