Created
November 23, 2021 09:50
-
-
Save emreavcilar/35659b54e898eebd99bbddce5963a9e8 to your computer and use it in GitHub Desktop.
var vs let cs const in js
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
https://www.linkedin.com/posts/milos--milovanovic_frontend-javascript-activity-6868846885734555649-Wo8a | |
var let const | |
Stored in Global Scope YES NO NO | |
Function Scope YES YES YES | |
Block Scope NO YES YES | |
Can Be Reassigned? YES YES NO | |
Can Be Redeclared? YES NO NO | |
Can Be Hoisted? YES NO NO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment