to me ;}
(x == null) ? x : y
x ?? y
Na JK it's way better now that I write it down
if you do this: cons a = b || "default value"; a can become default value for any falsy b value
haven't you ever used the logical OR operator? let x={} age=x.val || 18 it's frustrating if value of val is zero
Обсуждают сегодня