javascript - simple delete two out four in a array -
hi have quiz multiple answer want when button pressed delete 2 out off 4 leaving 2 answers 1 correct , 1 false.
var questions = [ ["what 10 + 4?", "12", "14", "16", "b"], ["what 20 - 9?", "7", "13", "11", "c"], ["what 7 x 3?", "21", "24", "25", "a"], ["what 8 / 2?", "10", "2", "4", "c"] ];
thank .
wiki
Comments
Post a Comment