This only works now because `(0 || 0) === 0`. You should use a check against null or undefined.