Skip to content

Instantly share code, notes, and snippets.

@pporche87
Last active April 21, 2017 17:20
Show Gist options
  • Select an option

  • Save pporche87/6310304e71ac95b80202b342dd516e6c to your computer and use it in GitHub Desktop.

Select an option

Save pporche87/6310304e71ac95b80202b342dd516e6c to your computer and use it in GitHub Desktop.
/**
*adds two numbers
*/
const add = (x,y) => x + y
module.exports = add
// Before refactoring:
// var result = x + y
// return result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment