Fix constructor_destructuring docs example to alert a defined value #3165

Merged
merged 1 commit into from Oct 20, 2013

Conversation

Projects
None yet
2 participants
Contributor

grschafer commented Sep 14, 2013

The last 2 examples in the Destructuring Assignment section of the docs both call run: contents.join("") but the last example doesn't include any variables named contents (copy-paste error).

I only started coffee-script yesterday so if this example is trying to demonstrate something else or would be better off with code_for('constructor_destructuring', executable=false), let me know!

Thanks for the language! 😄

Owner

jashkenas commented Oct 20, 2013

Lovely catch of someone's copy-paste error. Thanks.

jashkenas added a commit that referenced this pull request Oct 20, 2013

Merge pull request #3165 from grschafer/master
Fix constructor_destructuring docs example to alert a defined value

@jashkenas jashkenas merged commit 8bb833d into jashkenas:master Oct 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment