DraganSr
web-links (blinks) web-log (blog) by Dragan Sretenovic
Wednesday, June 17, 2020
immutable JS
tc39/proposal-record-tuple: ECMAScript proposal for the Record and Tuple value types. | Stage 1: it will change!
his proposal introduces two new deeply immutable data structures to JavaScript:
Record
, a deeply immutable Object-like structure
#{ x: 1, y: 2 }
Tuple
, a deeply immutable Array-like structure
#[1, 2, 3, 4]
Today, userland libraries implement similar concepts, such as
Immutable.js
.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)