nl_tokens: Creates an array with the specified lengths of dimensions
pl_tokens: function createArrayDepth ( dimensions , endpoint ) { var currentDimension = dimensions [ 0 ] ; var newArr = new <mask> ( currentDimension ) ; for ( var i = 0 ; i < currentDimension ; i ++ ) { var value = endpoint ; if ( dimensions . length > 1 ) value = createArrayDepth ( dimensions . slice ( 1 ) , endpoint ) ; newArr [ i ] = value ; } return newArr ; }