Skip to content

Commit 133e907

Browse files
Update README.md
###### 23. What's the output? The Answer description was not clear as the reason is that the variable declared with let couldn't be redeclared.
1 parent e4611d6 commit 133e907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ console.log(num);
739739

740740
With the `var` keyword, you can declare multiple variables with the same name. The variable will then hold the latest value.
741741

742-
You cannot do this with `let` or `const` since they're block-scoped.
742+
You cannot do this with `let` or `const` since they couldn't be redeclared.
743743

744744
</p>
745745
</details>

0 commit comments

Comments
 (0)