code?
March 19th, 2008, 06:32 AM
Is it possible to have a sentence scrambler in javascript? I've seen tons of scripts in PHP but I know in JS all you have to do is:
1. Split the strings by ' '.
2. Put the strings in an array.
3. Scramble
4. Loop through array and write strings out.
But then how do you preform the "scramble", or is there an easier way.
1. Split the strings by ' '.
2. Put the strings in an array.
3. Scramble
4. Loop through array and write strings out.
But then how do you preform the "scramble", or is there an easier way.