In test2, you can see that instead of removing the node from the array, it is replacing the node with ‘null’.
What am I doing wrong, and how can I remove it completely?
Edit: using Splice instead of delete. Updated fiddle here: http://jsfiddle.net/J2KuY/1/
Here’s a sample with chaining