Obtain all possible permutations.
an array
number of values [-1 ⇒ any]
[[], arrangements of length 1, of length 2, ...] if n<0; [only of length n] otherwise
Generated using TypeDoc
Obtain all possible permutations.