Remove Object from Array using JavaScript
You can use several methods to remove item(s) from an Array: If you want to remove element at position x, use: Or Reply to the comment of @chill182: you can remove one or more elements from an array using Array.filter, or Array.splice combined with Array.findIndex (see MDN), e.g.