nl_tokens: Take only the last N items in an iterable sequence
pl_tokens: function takeLast ( count ) { return function * ( iterable ) { const buffer = [ ] ; for ( const item of iterable ) { buffer . push ( item ) ; if ( buffer . length > count ) { <mask> . shift ( ) ; } } return yield * buffer ; } ; }