Do you really not use indentation?
That code contains compiler errors, so it can't be what you're running.
Type: Posts; User: KevinWorkman
Do you really not use indentation?
That code contains compiler errors, so it can't be what you're running.
If you want help, post an SSCCE with the most recent code, that way we're all looking at the same thing.
Math.random() is a method, not a variable, so it requires parenthesis after it. PS- You forgot the highlight tags.