What's the best way to represent union types in javascript? Using classes or plain objects with a t...
Updating immutable objects with the same structure...