Skip to content

change array literals to object literals, since the objects are used … #9

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

Merged
merged 1 commit into from
Jan 31, 2016

Conversation

wruth
Copy link
Contributor

@wruth wruth commented Jan 29, 2016

…as associative arrays

Loiane, this is pretty trivial, but technically it's probably more correct to initialize these as object literals as opposed to array literals, since you are using them as associative arrays (or maps), with string keys.

@loiane
Copy link
Owner

loiane commented Jan 31, 2016

Thanks for another PR!

loiane added a commit that referenced this pull request Jan 31, 2016
change array literals to object literals, since the objects are used …
@loiane loiane merged commit ce11ebc into loiane:second-edition Jan 31, 2016
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

Successfully merging this pull request may close these issues.

2 participants