Level 1
Based on the below array of users, create a reusable function that will remove any user matching the ID that function gets passed.
The function should accept one argument for the id, filter out any matches and return the updated array.
let users = [
{ id: 1, name: "Emma", gender: "Female" },
{ id: 2, name: "Oscar", gender: "Male" },
{ id: 3, name: "Alexis", gender: "Female" },
{ id: 4, name: "Adam", gender: "Male" },
];
Level 2 (optional)
Convert the filter function you created in Level 1 into a one-line function.