4 ms·
But if the opposite was true, why do I have to specify it at all? Why can’t it free on scope exit like any other language, with “let”?
by sippeangelo 3y ago
But if the opposite was true, why do I have to specify it at all? Why can’t it free on scope exit like any other language, with “let”?
- tracker1 3y agoBecause it will run in JS and you can do stuff like return something with a lifetime to be scoped at a higher level. Is there too declare intent. Typescript is just really advanced linting.