Slide 44
Slide 44 text
3/11/2019 future-js.md
http://localhost:63578/future-js.html?print-pdf#/ 44/46
Tagged collection literals
Tagged collection literals
Proposal withdrawn:
const myMap = Map!{1: 2, three: 4, [[5]]: 6}
// new Map([1,2], ['three',4], [[5],6])
const mySet = Set!['a', 'b', 'c'];
// new Set(['a', 'b', 'c'])