Returns the combinatorial combination of two numbers.
// The number of five-card hands possible from a standard fifty-two card deck is 2598960const combine = Chalkboard.numb.combination(52, 5); Copy
// The number of five-card hands possible from a standard fifty-two card deck is 2598960const combine = Chalkboard.numb.combination(52, 5);
First number (total items)
Second number (chosen items)
Returns the combinatorial combination of two numbers.
Example