let uniqueArr = []
functionremoveArrayDuplicatesBySet(arr){
// Accepts an array from which the duplicates// will be removedif (!Array.isArray(arr)){
arr = []
}
let theSet = newSet(arr)
let uniqueArr = [...theSet]
return uniqueArr
}
module.exports = removeArrayDuplicatesBySet