Skip to content

Instantly share code, notes, and snippets.

@csainty
Created March 7, 2012 22:34
Show Gist options
  • Save csainty/1996769 to your computer and use it in GitHub Desktop.
Save csainty/1996769 to your computer and use it in GitHub Desktop.
// helpers.js
function add(x,y) {
return x + y;
}
// page.js
console.log(add(1,1)); // prints 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment