function length(array)
{
	if (array.height === 0)
	{
		return array.table.length;
	}
	else
	{
		return array.lengths[array.lengths.length - 1];
	}
}
// Returns how many items are in the tree.
Returns how many items are in the tree.
Returns how many items are in the tree .
function length(array)
{
	if (array.height === 0)
	{
		return array.table.length;
	}
	else
	{
		return array.lengths[array.lengths.length - 1];
	}
}
function length ( array ) { if ( array . height === 0 ) { return array . table . length ; } else { return array . lengths [ array . lengths . length - 1 ] ; } }
Returns how many items are in the tree.
Returns how many items are in the tree .