Write a function called permutations that takes in a string as a parameter and returns an array of all possible permutations of the characters in the string.
A JavaScript library of historical permutation algorithms from 1956 to the present day. I originally started collecting these algorithms together as I was doing some research on early permutation ...