Content-Length: 293334 | pFad | http://github.com/roeib/JavaScript-snippets/commit/646fe99a59d2a05ceb23f42f24dc7934e48b25b4

C6 Merge pull request #14 from roeib/roeib-patch-1 · roeib/JavaScript-snippets@646fe99 · GitHub
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

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/roeib/JavaScript-snippets/commit/646fe99a59d2a05ceb23f42f24dc7934e48b25b4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy