JavaScript const vs let Debunked

Mastering Variables in JavaScript

Daniel Craciun
Level Up Coding
Published in
4 min readMay 9, 2024

--

Not a Member? Read for FREE here.

two people holding hands in an arm wrestle position with blue and red energy exhuming from both.
This image has been generated by AI.

const and let are two keywords used to declare variables in JavaScript.

Recently, there has been a debate on which keyword is better, which I believe to be absurd.

--

--