Level 1M2Lesson 2.1

beginner35 minby DevFox

const and let

Name a value with const when it is filled once and with let when a later line refills it. Read = as an order, not a comparison: the right side is worked out first. See why TypeScript refuses a refilled const before anything runs, and make TaskKit count the tasks it adds.

  • Fundamentals
  • TypeScript
`const` and `let`. Read this lesson at .