arcturo/library

Chapter 2: Syntax

ajayjain opened this issue · 3 comments

names = sam: seaborn, donna: moss
alert("#{first} #{last}") for first, last of names

seaborn and moss need to be in quotes.

Not if they're meant to be identifiers.

True, but they are the actual last names. The compiled code throws a reference error.

Are they supposed to be strings ?

names = sam: "seaborn", donna: "moss"