while also returning the removed elements. It can take up to three arguments: The first one is the mandatory index at which to start, the second is the number of items to remove, and the third is an optional replacement element. #WebDev#HTML#CSS#100daysofcodechallenge