arcturo / library

A library of free eBooks we're working on

Home Page:http://arcturo.com/library/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chapter 2: Syntax

ajayjain opened this issue · 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"