Created
November 7, 2013 20:03
-
-
Save wlaurance/7360977 to your computer and use it in GitHub Desktop.
coffeescript hello world
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Hello | |
| toString: -> | |
| 'hello' | |
| class World extends Hello | |
| toString: -> | |
| super() + ' ' + 'world' | |
| earth = new World() | |
| alert earth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment