Re:Emerging JavaScript pattern: multiple return values
by AstroJetson on Thursday October 29, 2020 @11:37AM
(#24931643)
Same reason I'm a Lua fan, multiple return values is a super function. With Lua it's baked into the language.
Anything to make JS feel less haphazard and more elegant (i.e. using TypeScript) is awesome in my books. Looking forward to hopefully using this pattern in my personal work going forward, and maybe trying to introduce it to my team ta work.