Skip to content

Commit 646fe99

Browse files
authored
Merge pull request #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

+12-1
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)