nl_tokens: a filter implementation that mutates the original array
pl_tokens: function filterArray ( arr , toKeep ) { var i = 0 while ( i < arr . <mask> ) { if ( toKeep ( arr [ i ] ) ) { i ++ } else { arr . splice ( i , 1 ) } } }