return `null` instead `undefined`

return `null` instead `undefined` for undefined items