rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 195 forks source link

how to use splice like array #240

Open Jfs007 opened 6 years ago

crudh commented 6 years ago

@Jfs007 either you make the array mutable, use splice and then make it immutable again or you use stuff like map, reduce, filter, concat etc to achieve the same effect.