4 ms·
Re: try-catch x const, this is indeed one of top annoyances in JS those days. I hope this proposal makes it to the language one day: https://github.com/nzakas/
by jakub_g 2y ago
Re: try-catch x const, this is indeed one of top annoyances in JS those days. I hope this proposal makes it to the language one day:
https://github.com/nzakas/proposal-write-once-const?tab=readme-ov-file#use-case-3-try-catch-initialized-bindings https://github.com/nzakas/proposal-write-once-const?tab=read...
- qbane 2y agoThanks for the reference. I am surprised that Java already has a solution and the choice of keyword "final" is a nice one.