JeromeandrewongJavascriptJavascriptWebWebGoGoDSADSASystem DesignSystem Design
GitHubGitHub (opens in a new tab)
  • About me
    • Memoization
    • React Lifecycle
    • Ssr Vs Csr
    • Usedebounce
    • Useref
    • Virtual Dom
    • Any Vs Never Vs Unknown
  • ==-vs-===
  • .bind() vs .call() vs .apply()
  • null vs undefined vs undeclared
  • Curry vs Partial Application
  • Sync vs Async functions
  • var vs let vs const
  • Closure
  • Concurrency and Parallelism
  • Event Bubbling
  • Event Delegation
  • Event Loop
  • Generators
  • Hoisting
  • Promises
  • Prototypal Inheritance
  • Pure Functions
  • This

On This Page

  • var vs let vs const
Question? Give us feedback → (opens in a new tab)Edit this page
Javascript
var vs let vs const

var vs let vs const

varletconst
Scopefunction scopeblock scopeblock scope
Reassigningyesyesno
Redeclaringyesnono
hoistingyesnono
Sync vs Async functionsClosure

MIT 2024 © Nextra.