tests/lib/ludorum.js
/** An entry `descendants(entry)` is an array of all the entry's 
	descendants, for all the possible moves for the entry's state.
	*/
An entry `descendants(entry)` is an array of all the entry's
descendants, for all the possible moves for the entry's state.
An entry ` descendants ( entry ) ` is an array of all the entry ' s descendants for all the possible moves for the entry ' s state .
function descendants(entry) {
		var descendant = this.descendant.bind(this, entry);
		if (arguments.length > 1) {
			return Array.prototype.slice.call(arguments, 1).map(descendant);
		} else { 
			return entry.state.possibleMoves().map(descendant);
		}
	}
function descendants ( entry ) { var descendant = this . descendant . bind ( this , entry ) ; if ( arguments . length > 1 ) { return Array . prototype . slice . call ( arguments , 1 ) . map ( descendant ) ; } else { return entry . state . possibleMoves ( ) . map ( descendant ) ; } }
An entry `descendants(entry)` is an array of all the entry's
descendants, for all the possible moves for the entry's state.
An entry ` descendants ( entry ) ` is an array of all the entry ' s descendants for all the possible moves for the entry ' s state .
// if (arguments.length == 0)