Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d333e12 commit ac47e82Copy full SHA for ac47e82
README.md
@@ -53,24 +53,6 @@ const yearMonthDay = moment().format('YYYY/MM/DD');
53
```
54
**[⬆ back to top](#table-of-contents)**
55
56
-### Use ES2015/ES6 constants when variable values do not change
57
-In the bad example, the variable can be changed.
58
-When you declare a constant, the variable should stay
59
-the same throughout the program.
60
-
61
62
-**Bad:**
63
-```javascript
64
-var FIRST_US_PRESIDENT = "George Washington";
65
-```
66
67
-**Good**:
68
69
-const FIRST_US_PRESIDENT = "George Washington";
70
71
-**[⬆ back to top](#table-of-contents)**
72
73
74
### Use the same vocabulary for the same type of variable
75
76
**Bad:**
0 commit comments