what is JavaScript and camel case?
Answers
Answered by
1
Answer:
Historically, programmers have used three ways of joining multiple words into one variable name:
Hyphens:
first-name, last-name, master-card, inter-city.
Underscore:
first_name, last_name, master_card, inter_city.
Camel Case:
FirstName, LastName, MasterCard, InterCity.
In programming languages, especially in JavaScript, camel case often starts with a lowercase letter:
firstName, lastName, masterCard, interCity.
Similar questions
Math,
5 months ago
English,
5 months ago
Computer Science,
11 months ago
Physics,
11 months ago
Business Studies,
1 year ago
Science,
1 year ago