$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · hard · #204

What goes in the blank?

// keep 0 but default null/undefined
const n = input ____ 10;

Answer: ?? (also accepted: ??)

?? only falls back on null or undefined, unlike ||.
Play Problem Solving ▸