Skip to content

Instantly share code, notes, and snippets.

@lumin3000
Created January 4, 2011 09:45
Show Gist options
  • Save lumin3000/764597 to your computer and use it in GitHub Desktop.
Save lumin3000/764597 to your computer and use it in GitHub Desktop.
a test file
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