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 194 forks source link

setIn should create a new item at the index specified if none exists #161

Closed slashwhatever closed 7 years ago

slashwhatever commented 7 years ago

In similar fashion to "that other" library, setIn should create a new item at the index specified by the setIn call if it doesn't exist already.

Edit: it does. I'm a doof.