Module

getMaxLengthCombos

Generate array combinations, each of which is of the length of the number of arrays passed (groups)
Parameters:
Name Type Description
arrays Array.<Array.<T>> An array of arrays containing each options (e.g. option groups) e.g. [['a','b'], ['1', '2'], ['@', '#']]

View Source math/getMaxLengthCombos.js, line 12

An array of arrays containing each combinations generated by the passed arrays. e.g. [['a', '1', '@'], ['a', '1', '#'], ['a', '2', '@']...]
Array.<Array.<T>>