Test Cases (0/3)
    • removeNegatives([-1,-3,-5,10]) to return [10]

    • removeNegatives([-1,-3,-5,-10]) to return []

    • removeNegatives([10, 20, 30, -40, -50]) to return [10, 20, 30]

    Output
    Michael
      (0/300)