🔬 const vs let - The Interactive Experiment

🔒

CONSTANTS

Cannot change
robotName
"HyBit A. ProtoBot"
modelNumber
"HAP-7000"
creationYear
2024
🔓

VARIABLES

Can change
energyLevel
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.

← Back to Station 3