Why is this ternary operator not returning an error?

x=y re-binds x to value of y.

this “expression” itself have the value of the right-hand size, which is y’s value

1 Like