Tuples in JavaScript when

@jkb you can pattern match arrays, what more do you want, an actual type system?

@josh Well, yes. But I am aware that I shouldn't expect this in vanilla JavaScript, if I really need it I should switch to TypeScript, PureScript, ...

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!