Note from 16 March 2023
TIL there are nullish coalescing operator (??
) and assignment (??=
) in many programming languages, including JavaScript.
Never used them, always either using ||
or initialising variables with undefined
.
Should I refactor? 🤔