// index.js function removeDuplicates(arr) { return arr.filter((item, index) => arr.indexOf(item) === index); } module.exports = removeDuplicates;