lundi 18 mai 2015

Methods called in a random order?

Right now I do this

addQuestion(ID, { arguments } );
addQuestion(ID, { arguments } );

ID is a variable that is increased every time I call addQuestion()

But as I call add the method with same arguments in the same order every time and when I use the array the addQuestion method uses the questions will always be ordered in the same order. I want it to be in a random order everytime.




Aucun commentaire:

Enregistrer un commentaire