Last active
October 24, 2022 17:46
-
-
Save Chikitonik/54fce1df4aa19122c27de0186862746c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keyword | scope | hoisted | reassignable | redeclarable | deletable | |
---|---|---|---|---|---|---|
no keword | function scope, global scope | ➖ | ✅ | ✅ | ✅ | |
var | function scope, global scope | ✅ | ✅ | ✅ | ➖ | |
let | block scope | ➖ | ✅ | ➖ | ✅ | |
const | block scope | ➖ | ➖ | ➖ | ➖ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment