Case-sensitivity of identifiers

var dog = 'Benjamin'
var Dog = 'Samba'
var DOG = 'Bernie'
say "The three dogs are named #{dog}, #{Dog}, and #{DOG}."

Output:

The three dogs are named Benjamin, Samba, and Bernie.

Last updated