InterviewHubPRO
Section Overview
Q103

Question 103 of 521

Part 2: Promises, Callbacks, Async & Strict Mode (54 - 103)

20%
JavaScript Internals (521 Qs)•Part 2: Promises, Callbacks, Async & Strict Mode (54 - 103)

Is JavaScript a case-sensitive language

Yes, JavaScript is a case sensitive language. The language keywords, variables, function & object names, and any other identifiers must always be typed with a consistent capitalization of letters.

Practical Code Example

javascript
// JavaScript is strictly case-sensitive:
let myVariable = 'First';
let MyVariable = 'Second';
let MYVARIABLE = 'Third';

console.log(myVariable); // 'First'
console.log(MyVariable); // 'Second'
console.log(MYVARIABLE); // 'Third' (3 completely separate identifiers)