Filter Array Without Using Filter Function