Level 1M3Lesson 3.3

beginner30 minby DevFox

null and undefined

Tell the two kinds of nothing apart: undefined, which JavaScript gives to whatever was never filled, and null, which you write for empty on purpose. Write string | null and string | undefined, see why Number(null) is a quiet 0, and make TaskKit read its words with process.argv.at() so tsc catches a check in the wrong order.

  • Fundamentals
  • TypeScript
`null` and `undefined`. Read this lesson at .