Skip to content

Commit 646fe99

Browse files
authored
Merge pull request roeib#14 from roeib/roeib-patch-1
CONST vs LET vs VAR
2 parents b2d0d5e + 23fe606 commit 646fe99

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
|44 | [generate randomUUID](#generate-random-uuid)|
5151
|45 | [structuredClone](#structuredClone)|
5252
|46 | [get device orientation](#get-device-orientation)|
53-
53+
|47 | [CONST vs LET vs VAR](#const-let-var)|
5454

5555
**[⬆ Back to Top](#table-of-contents)**
5656
### How to generate a random number in a given range
@@ -994,3 +994,14 @@ function getOrientation() {
994994
}
995995
996996
```
997+
998+
**[⬆ Back to Top](#table-of-contents)**
999+
### CONST vs LET vs VAR
1000+
1001+
| | const | Let | Var |
1002+
|------------------------|-------|-----|-----|
1003+
| Can be Reaasigned? | :x: | :white_check_mark: |:white_check_mark: |
1004+
| Cab be Redeclared? | :x: | :x: | :white_check_mark: |
1005+
| Block Scope | :white_check_mark: |:white_check_mark: | :x: |
1006+
| Function Scope | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1007+
| Stored in Global Scope | :x: | :x: | :white_check_mark: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy