TC39 proposal: Record and Tuples, the real immutable data structures in JavaScript.

const record = #{ prop: 1}; const tuple = #[1, 2, 3]
Records and tuples

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alberto de Murga

Software engineer at @bookingcom . I write about tech, mostly *nix, git, JS & Go. https://threkk.com