I was showcasing ternary and null-coalescing operators in a workshop today, and this question came up: "why is ternary turning simple expressions into if/else statements, but null-coalescing doesn't?"
So we could take #1341 and extend it to null-coalescing expressions.
chosenUser = user ?? {}
' transpiles to...
chosenUser = bslib_coalesce(user, {})
' but it could transpile to...
chosenUser = user
if chosenUser = invalid
chosenUser = {}
end if