Clean Code concepts adapted for JavaScript
Improvement on email client function
In the section "Functions should do one thing" this change uses the Array.filter method to get the active clients, then emailing those with the forEach loop.
R
rodu committed
9272fa29f3eba4d77bfb5d727e88587e2a96cade
Parent: 509260b
Committed by Francesco Colonna <frappacchio@gmail.com>
on 10/13/2018, 11:53:53 AM