Add semicolon for tdd exports

This commit is contained in:
Angelos Chalaris
2018-02-04 17:38:39 +02:00
parent ea2e45b969
commit 6709e181d7
290 changed files with 291 additions and 291 deletions

View File

@ -1,4 +1,4 @@
const averageBy = (arr, fn) =>
arr.map(typeof fn === 'function' ? fn : val => val[fn]).reduce((acc, val) => acc + val, 0) /
arr.length;
module.exports = averageBy
module.exports = averageBy;