Apply arrow function transform.

This commit is contained in:
John-David Dalton
2017-01-06 15:41:39 -08:00
parent d461c87979
commit 7167d7e09f
108 changed files with 172 additions and 271 deletions

4
add.js
View File

@@ -15,8 +15,6 @@ import createMathOperation from './_createMathOperation.js';
* _.add(6, 4);
* // => 10
*/
var add = createMathOperation(function(augend, addend) {
return augend + addend;
}, 0);
var add = createMathOperation((augend, addend) => augend + addend, 0);
export default add;