Case Sensitivity (Definition)

Upper and lower case are not identical when used in identifiers.

Availability:

ECMAScript edition - 2

Identifiers in JavaScript are case-sensitive.

This means that, for example, variables will refer to distinctly different values if their names differ in the case of any part of their names. Hence aaa is not the same variable as Aaa.

MSIE browsers prior to version 4 were less particular about case sensitivity. Since the ECMA standard requires strict case sensitive behavior, this is now the norm.

Some early versions of the WebTV set top box prior to the Summer 2000 release also lacked case sensitive behavior regarding built-in method and property names.

Warnings:

See also:JavaScript Style Sheets, JellyScript

Cross-references:

ECMA 262 edition 2 - section - 7.5

ECMA 262 edition 3 - section - 7.6

O'Reilly JavaScript Definitive Guide - page - 27