O.P. RE: [beta release] Math Games
quote: Originally posted by Matty
So with your code if the random number generated is 0 then once you subtract 1 you end up with -1 as a value and there is no operator at array position -1.
code: randomop=Math.round(Math.random()*(op.length-1));
Is the right code.
it still does that..
[quote]
Ultimatess6: What a noob mod
|