Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
JavaScript fundamentals
Which statement correctly compares let and const?
from JavaScript fundamentals
Node 24
beginner
1 min
Which statement correctly compares let and const?
Both create block-scoped bindings, but only let permits reassignment.
const recursively freezes any object assigned to it.
let is initialized to undefined before its declaration executes.
const is function-scoped while let is block-scoped.
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload