nl_tokens: Example 1 . Writing an iterator over an array
pl_tokens: function iterateElements ( array ) { var index = 0 ; var rv = { } ; rv [ Symbol . iterator ] = { <mask> ( ) { if ( index < array . length ) return { value : array [ index ++ ] , done : false } ; return { done : true } ; } } }