DEV Community

Discussion on: Remove duplicates from an Array the short & sweet way!

Collapse
 
sqlrob profile image
Robert Myers

Does this maintain order?

Collapse
 
ajmalhassan profile image
Ajmal Hassan • Edited

Yeah, because javascript uses Ordered Sets unlike say python.