Created
January 4, 2011 09:45
-
-
Save lumin3000/764597 to your computer and use it in GitHub Desktop.
a test file
This file contains 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 Animal | |
constructor: (@name,@array) -> | |
sit = [1..100] | |
move: (meters) -> | |
ab=[] | |
sit.each (el,idx)-> | |
ab[idx]=++el | |
alert ab | |
#alert @name + " moved" + meters + "m." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment