Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 2: Syntax #46

Open
ajayjain opened this issue May 26, 2012 · 3 comments
Open

Chapter 2: Syntax #46

ajayjain opened this issue May 26, 2012 · 3 comments

Comments

@ajayjain
Copy link

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

seaborn and moss need to be in quotes.

@michaelficarra
Copy link
Contributor

Not if they're meant to be identifiers.

@ajayjain
Copy link
Author

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

@bwanicur
Copy link

Are they supposed to be strings ?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants