Consider this scenario: I have an array and I need to remove a specific element from it. Take the following array for example:
arr = [1, 2 , 3, 4, 5]
if (value === 3){
arr.pop() // If the value is '3', I want to remove that record from the array regardless of its position within the list.
My question is, can this be achieved?