Kevin Powell - CommunityKP-C
Kevin Powell - Community2y ago
18 replies
Khoa

Good naming convention in JS?

I don't write much JS soo this problem only come up recently. My first idea is to have all of my function a "verb" like getAllItems or closeTabById. then for variable I would use "noun" like itemCount . Are there any recommended rule for this?
Was this page helpful?