Glossary coding Term Page

const vs. let

use `const` for values that never change and `let` for those that will

const-vs-let #coding#javascript
Korean version

Related Concepts

Core Idea

const vs. let is use const for values that never change and let for those that will. This avoids accidental state overwrites. It usually makes the most sense alongside Browser console, Node.js, Data type.

Why It Matters Here

Mathbong reuses this term across javascript posts as shared vocabulary.

Posts Mentioning This Concept