Changed Named convention's bad example

I changed pages_count to page_count because it seems more right. Also all 3 examples have same variable. It showed the result better.
This commit is contained in:
Yusuf Turhan Papurcu
2021-01-19 00:06:38 +03:00
committed by GitHub
parent f55da865cc
commit 4b1fbda5ae

View File

@ -47,7 +47,7 @@ Pick **one** naming convention and follow it. It may be `camelCase`, or `snake_c
```js ```js
/* Bad */ /* Bad */
const pages_count = 5 const page_count = 5
const shouldUpdate = true const shouldUpdate = true
/* Good */ /* Good */