nice solution
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time please.
As an example: You can have 10 instances of "Apple" You cannot have "Apple" instances of 10
Basically * is a method, which has to take in a number. It cannot perform it's function with a string.
Thank you, phaul, for the explanation, that is very interesting!
Thanks, approved!
He is gone, forked.
Feel like updateing/resubmitting? Description was changed in the meantime...
Previous translation didn't reverse words in place, but instead trimmed spaces.
Better, but still different.
What about this?
for(var i=0;i<len;i++) { switch(Math.floor(Math.random() * 10)) { case 0: text += oldValue; break; case 1: text += " "; break; default: text += String.fromCharCode(Math.floor(Math.random() * 26) + 97); } }
And the random-values are also different. -> Math.floor(Math.random() * 7) -1; gives a result from -1 to 5 and not from 1 to 6
Loading collection data...
nice solution
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
As an example:
You can have 10 instances of "Apple"
You cannot have "Apple" instances of 10
Basically * is a method, which has to take in a number. It cannot perform it's function with a string.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you, phaul, for the explanation, that is very interesting!
Thanks, approved!
He is gone, forked.
This comment is hidden because it contains spoiler information about the solution
Feel like updateing/resubmitting? Description was changed in the meantime...
This comment is hidden because it contains spoiler information about the solution
Previous translation didn't reverse words in place, but instead trimmed spaces.
Better, but still different.
What about this?
And the random-values are also different.
-> Math.floor(Math.random() * 7) -1; gives a result from -1 to 5 and not from 1 to 6
Loading more items...