Open hasansaad1 opened 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().
Thanks Hasan - I'll look at this
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().