Create a method `removeFriend()` that accepts an `id` parameter and then utilizes the `.filter()` method to create a new array of friends without the passed `id`. Update the state with this new filtered array. code example
Example: js filter items by index
let newArray = arr.filter(callback(element[, index, [array]])[, thisArg])