DEV Community

Discussion on: 1 line of code: How to remove all duplicates from an Array

Collapse
 
qm3ster profile image
Mihail Malo

Array.from goes through iterator protocol for Set and Map, so it's exactly equivalent to the [... sugar.