I am having trouble understanding what to do next. The following code removes all the duplicate numbers but I also need to remove the strings without converting them to numbers. I'm not sure how to proceed...
var arr = [ 10, 44, 55 ,66 , 77 , 55 , 44 , 3 , 3 , 3 , 4 , 5 , 6 , 54 , "henry", "33", "£", "66"]
var max = {};
function biggerThanMax(arr){
return arr.filter(function(item,index){
return arr.indexOf(item) >= index;
});
};
biggerThanMax(arr)
]{"33"be removed?