camelCase
noun
say it: “KAM-ul kays” /ˈkæməl keɪs/
A way of writing names where the first word is lowercase and each later word starts with a capital, like totalPrice. JavaScript uses it for variables and functions.
What is camelCase in JavaScript?
camelCase — A naming style that starts lowercase and capitalizes each later word.
const orderCount = 3;
In a sentence
- “JavaScript names use camelCase, so it's highScore, not high_score or HighScore.”
Level: Novice · More JavaScript terms at this level
Updated