Last active
October 18, 2021 18:37
-
-
Save Harshakvarma/7df3a0415789b6512481fca572d7dfa9 to your computer and use it in GitHub Desktop.
Case Styles: Camel, Pascal, Snake, and Kebab Case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var userLoginDetails = {userId: '53453455'} // function names (Camel Case) | |
var UserLoginDetails = {userId: '53453455'} // Class names (Pascal Case) | |
var user_login_details = {userId: '53453455'} // local constants (Snake Case) | |
var USER_LOGIN_DETAILS = {userId: '53453455'} // shared constants (All Caps Snake Case) | |
var value = 'user-login-details' // value (Kebab Case) | |
/* | |
REF: https://betterprogramming.pub/string-case-styles-camel-pascal-snake-and-kebab-case-981407998841 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment