3 ms·
That kind of "exception handling" is what I use Typescript for. JS decided back around ES4 that type hints were too complicated for browsers and they've been le
by WorldMaker 5y ago
That kind of "exception handling" is what I use Typescript for. JS decided back around ES4 that type hints were too complicated for browsers and they've been left to outside tools like Typescript and Flow.
I'm not always sure that was the right decision long term, but that was an informed decision of the time.