I am looking for a way to a digit (i.e: 123), and return all the possible combinations of those 3 digits.
So for example:
123 132 213 231 321 312
Is there a function i can use for this in javascript?
I am looking for a way to a digit (i.e: 123), and return all the possible combinations of those 3 digits.
So for example:
123 132 213 231 321 312
Is there a function i can use for this in javascript?