2

So. Many. Operators.

Comments
  • 2
    @rEaL-jAsE did you mean
    ternary operator `? :`
    optional property access `?.`
    optional string prop access `?.[ ]`
    optional function call `?.()`
    nullish coalescing operator `??` or
    logical nullish assignment `??=`
  • 1
    My favourite is ||= because it looks like a T pipe where the two booleans are combined and the mixture flows down. I didn't know about ??= though, that's nice too.
  • 0
    You never use them, why bother?
  • 0
Add Comment