Last active
April 21, 2017 17:36
-
-
Save pporche87/23b809c9b3855c52e08accf263b97dc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*subtracts two numbers | |
*/ | |
const subtract = (x,y) => x - y | |
module.exports = subtract | |
// Before refactoring: | |
// let answer = x - y | |
// return answer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment