# Difference Between var, let and const in JavaScript
| Keyword | var | let | const |
| ---------- | -------- | ----- | ----- |
| Scope | Function | Block | Block |
| Redeclared | ✅ | ❌ | ❌ |
| Reassigned | ✅ | ✅ | ❌ |
| Hoisting | ✅ | ⚠️ | ⚠️ |
## References
1. [What's the Difference Between var, let and const in JavaScript? ← Alligator.io](https://alligator.io/js/var-let-const/)
2. [var vs let vs const in JavaScript - UI.dev](https://ui.dev/var-let-const/)
3. [Var, Let, and Const – What's the Difference?](https://www.freecodecamp.org/news/var-let-and-const-whats-the-difference/)
###### tags: `JavaScript`