Chapter 2: Syntax
ajayjain opened this issue · 3 comments
ajayjain commented
names = sam: seaborn, donna: moss
alert("#{first} #{last}") for first, last of names
seaborn and moss need to be in quotes.
michaelficarra commented
Not if they're meant to be identifiers.
ajayjain commented
True, but they are the actual last names. The compiled code throws a reference error.
bwanicur commented
Are they supposed to be strings ?
names = sam: "seaborn", donna: "moss"