`undefined` is correct but could you change it to `null` to keep consistent with other code?