🔬 const vs let - The Interactive Experiment
🔒
CONSTANTS
Cannot changerobotName
"HyBit A. ProtoBot"
modelNumber
"HAP-7000"
creationYear
2024
🔓
VARIABLES
Can changeenergyLevel
100
tasksDone
0
statusMessage
"Ready to learn!"
📋 Change Log
Welcome to Variable Lab! Try changing some values.
🟠 HAP's Insight: Notice how const values are "locked" —
you can click all you want but they won't change. That's the point! Use const
for facts that should never change, and let for values that need to update.