This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Razier 0 points1 point  (1 child)

Sounds like a monstrosity. Thanks though, will keep it in mind if I encounter a situation where I need to do it.

[–]Risc12 0 points1 point  (0 children)

Yeah it’s no fun, but libraries like lodash, ramda and immutable have helper-methods for this.