FACN3 / MHHN

Repo for the second week TDD project.
https://facn3.github.io/MHHN/.
0 stars 0 forks source link

unnecessary code lines #19

Open hasansaad1 opened 7 years ago

hasansaad1 commented 7 years ago

https://github.com/FACN3/MHHN/blob/master/logic.js#L31 https://github.com/FACN3/MHHN/blob/master/logic.js#L47 https://github.com/FACN3/MHHN/blob/master/logic.js#L60 you don't need this line, concat doesn't affect the array, it returns a new one. and also filter creates a new array and does not affect the original one. also Map().

NickP123 commented 7 years ago

Thanks Hasan - I'll look at this