Skip to content

Commit d928487

Browse files
vsemozhetbytljharb
authored andcommitted
[guide] const -> let
1 parent ee492a7 commit d928487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,17 +2073,17 @@ Other Style Guides
20732073
```javascript
20742074
// bad
20752075
function foo() {
2076-
∙∙∙∙const name;
2076+
∙∙∙∙let name;
20772077
}
20782078
20792079
// bad
20802080
function bar() {
2081-
const name;
2081+
let name;
20822082
}
20832083
20842084
// good
20852085
function baz() {
2086-
∙∙const name;
2086+
∙∙let name;
20872087
}
20882088
```
20892089

0 commit comments

Comments
 (0)