But, are you aware that you're changing your original array, in place? Thus, your function doesn't have to return anything, you can just print out the original array. An usually, that's an undesired side effect.
In reply to Re: randomize array
by bart
in thread randomize array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |