3 ms·
This kind of thing makes me wish that some variety of Optional/Either/Maybe was a de facto standard in JS, like early promise work turned out.
by crooked-v 6y ago
This kind of thing makes me wish that some variety of Optional/Either/Maybe was a de facto standard in JS, like early promise work turned out.
- mchaver 6y agoReScript (formerly BuckleScript/ReasonML) is a nice option, but I agree in an ideal world these features would exist in the JS standard.