Permutation algorithm with JavaScript | Heykuki News