Shuffle answer properties

后端 未结 2 770
無奈伤痛
無奈伤痛 2020-12-22 01:45

I have to activate the properties to shuffle the question of a multiple choice type questoin, but I can\'t find the properties. I found this code that randomizes questions,

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-22 02:29

    I believe that you have to randomize the options yourself with something like this:

    function randomizeArray(A) {
      var iA=A.slice();
      var oA=[];
      for(var i=0;i

提交回复
热议问题