Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How would you improve this little jQuery Dice Roller? Re: How would you improve this little jQuery Dice Roller?

#98453
karlpcrowley
Participant

http://jsfiddle.net/K5tCE/27/
I’ve added comments where I’ve changed
The , was changed to ; because the variable “value” was being re-declared instead of redefined

Functions don’t need to end in ; just lines within the function