ecmascript-immutable-data-structures icon indicating copy to clipboard operation
ecmascript-immutable-data-structures copied to clipboard

Results 15 ecmascript-immutable-data-structures issues
Sort by recently updated
recently updated
newest added

Can you explain: how new record: ``` js const xy = #{ x: 1, y: 2 }; // frozen value type const xyz = #{ ...xy, z: 3 }; //...

Would love to get some examples for: [ImmutableVector.prototype.copyWithin (target, start [ , end ] )](https://github.com/sebmarkbage/ecmascript-immutable-data-structures/blob/master/ImmutableVector.prototype.md#immutablevectorprototypecopywithin-target-start---end--) And [ImmutableVector.prototype.fill (value [ , start [ , end ] ] )](https://github.com/sebmarkbage/ecmascript-immutable-data-structures/blob/master/ImmutableVector.prototype.md#immutablevectorprototypefill-value---start---end---)

There already seems to be a `toJSON` method on the prototypes of the immutable types. There should be a new method of `JSON` as well. ## `JSON.parseImmutable` This would return...

There are lots of methods already defined on the prototypes of the types. I propose two more methods. The idea is to have the same capability as 'fromJS' and 'toJS'...

It's often nice to have literals for immutable sets, both for writing and for printing. This is obviously far less important than any of the semantics that you've laid out,...