How to Generate All String Permutations in JavaScript | Hacker News Reader