nl_tokens: Returns all the items unique to a single array ( the set difference ) .
pl_tokens: function difference ( ) { var arrays = libs . object . only ( libs . object . toArray ( arguments ) , 'array' ) , diff = [ ] , allItems = [ ] , i ; for ( i = 0 ; i < arrays . length ; i ++ ) allItems = allItems . concat ( arrays [ i ] ) ; for ( i = 0 ; i < allItems . length ; i ++ ) { var inArray = - 1 , unique = false ; for ( var n = 0 ; n < arrays . length ; n ++ ) { if ( inArray === - 1 && arrays [ n ] . indexOf ( allItems [ i ] ) > - 1 ) { inArray = n ; <mask> = true ; } else if ( inArray !== - 1 && arrays [ n ] . indexOf ( allItems [ i ] ) > - 1 ) { inArray = n ; unique = false ; } } if ( inArray !== - 1 && unique ) diff . push ( allItems [ i ] ) ; } return diff ; }