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

@ -3,4 +3,4 @@ const mid = Math.floor(arr.length / 2),
nums = [...arr].sort((a, b) => a - b);
return arr.length % 2 !== 0 ? nums[mid] : (nums[mid - 1] + nums[mid]) / 2;
};
module.exports = median
module.exports = median;