function filteredArray(arr: any, elem: any) {
let newArr: any = [];
// Only change code below this line
for (let i = 0; i < arr.length; i++) {
if (!arr[i].includes(elem)) {
newArr.push(arr[i])
}
}
// Only change code above this line
return newArr;