1. Mozilla Developer Network (MDN) Web Docs: In the "JavaScript Guide > Grammar and types" section
it is explicitly stated: "JavaScript is a case-sensitive language. This means that language keywords
variables
function names
and other identifiers must always be typed with a consistent capitalization of letters." (See "Case sensitivity" subsection).
2. ECMA-262
13th Edition (ECMAScript® 2022 Language Specification): Section 6.1.2
"The Undefined Type
" and Section 7.2.2
"IsUnresolvableReference ( V )
" detail the process of reference resolution. An identifier that cannot be resolved in the current lexical environment
such as the call to the non-existent myFunction
results in an unresolvable reference
which leads to a ReferenceError being thrown.
3. Flanagan
D. (2020). JavaScript: The Definitive Guide (7th ed.). O'Reilly Media. Chapter 2
"Lexical Structure
" Section "Case-Sensitivity
" states
"JavaScript is a case-sensitive language. This means that keywords
variables
function names
and other identifiers must always be typed with a consistent capitalization of letters." (p. 16).
4. Haverbeke
M. (2018). Eloquent JavaScript (3rd ed.). No Starch Press. Chapter 2
"Program Structure
" under the section "Bindings
" explains that bindings (variables and functions) have names
and these names are case-sensitive. The text notes
"The names of bindings
also called identifiers
can be any word... Casing matters—catch and Catch are different names." (p. 23).