Skip to content

Instantly share code, notes, and snippets.

@creativedrewy
Last active December 14, 2015 17:29
Show Gist options
  • Save creativedrewy/5122277 to your computer and use it in GitHub Desktop.
Save creativedrewy/5122277 to your computer and use it in GitHub Desktop.
Using the "do" keyword in coffeescript
#Calling a function with arguments:
returnData = processData "First Argument", 3, "third"
#Pretend the same function had no arguments, call like this? No, wrong:
returnData = processData
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment