Skip to content

Instantly share code, notes, and snippets.

@saturngod
Created August 16, 2011 15:37
Show Gist options
  • Save saturngod/1149376 to your computer and use it in GitHub Desktop.
Save saturngod/1149376 to your computer and use it in GitHub Desktop.
sample function for javascript
function sum(num1,num2) {
return num1+num2;
}
result=sum(5,3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment