I was wondering if it was possible to create a sentence jumble that would output all possible variations using all words from a given sentence using node.js
ie.
"The brown fox" would output to: "Fox the brown" "Brown fox the" "The fox brown" "Brown the fox" "Fox brown the"
Thank you in advance.