nice. I faintly remembered that initialising thing with 'const'. The thing that you mentioned about temporal dead zone was really amusing. The fact that if you put it inside an async function like setTimeout, it will not result in an error.
Developer: javascript, typescript, React, ... I love to discover new things, exploring code of libraries and understand how things work.
Fan of creative hobbies :)
nice. I faintly remembered that initialising thing with 'const'. The thing that you mentioned about temporal dead zone was really amusing. The fact that if you put it inside an async function like setTimeout, it will not result in an error.
Thanks :)
Yep it's not straightforward to have it, it's really needed to think in a temporal way