re: How to remove duplicate objects from an array (javascript) VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

filter(e=>e) part fails if e (index) is 0.

Should be: filter(e => e || e === 0)

code of conduct - report abuse