cheatsheet/elm.js
function createNode(h, length)
{
	if (length < 0)
	{
		length = 0;
	}
	var a = {
		ctor: '_Array',
		height: h,
		table: new Array(length)
	};
	if (h > 0)
	{
		a.lengths = new Array(length);
	}
	return a;
}
function createNode(h, length)
{
	if (length < 0)
	{
		length = 0;
	}
	var a = {
		ctor: '_Array',
		height: h,
		table: new Array(length)
	};
	if (h > 0)
	{
		a.lengths = new Array(length);
	}
	return a;
}
function createNode ( h , length ) { if ( length < 0 ) { length = 0 ; } var a = { ctor : '_Array' , height : h , table : new Array ( length ) } ; if ( h > 0 ) { a . lengths = new Array ( length ) ; } return a ; }
Creates a node or leaf with a given length at their arrays for perfomance. Is only used by shuffle.
Creates a node or leaf with a given length at their arrays for perfomance . Is only used by shuffle .