it is possible to remove specific element from lists. i tried this functions for remove element
pop() = remove last element $remove(index) = n
pop() = remove last element
$remove(index) = n
Firstly, you should fix the methods key.
methods
Then, you should pass the item to the $remove method, not the index. [ref]
$remove
index
https://jsfiddle.net/790og9w6/