News for hackers. Stuff that matters.

brn27

for-await loop behavior is bit complex, but roughly, it's like async await functionality. So, for-await loop wait promise step by step, and if await keyword exists in loop body, wait too. So it's looks like synchronous from inside of async function, but behave as asynchronous promise at outside of async function.
No, scoping is not a matter. Most important things in here is that you can treat async callback or async repeatation as normal for-await-of loop. Async callback function is no loger necessary any more in javascript.
So It's my hobby side project. I want to try to implements vdom.
Thanks for reaction. I think so too. But other vdom implementaion is more bad things, like riot. React state and props system is not bes, but it's easy to use and understand for javascript developers. I think reactjs is enter maturity stage not bogged down.