Optional keys in objects

Hi! I was just linked to this thread from another where we're discussing some solutions to the same problem for both arrays and objects using modified ternary and null coalescence syntax. Thoughts on that approach (for objects)?

1 Like