hi please when randomising the values in an array is it acceptable to type out my code like this :
var buttonColours = ["red", "blue", "green", "yellow"];
var randomChosenColour = Math.random(buttonColours.length);
Aucun commentaire:
Enregistrer un commentaire