function update_obj() {
  var cur_q_index = decision_arrays[decisson_state_index][3];
  var cur_q_objs = decision_arrays[decisson_state_index][2];

  var new_obj = {};

  for (var i = 0; i < cur_q_index + 1; i++) {
    new_obj[Object.keys(cur_q_objs)[i]] = cur_q_objs[Object.keys(cur_q_objs)[i]];
  }

  decision_arrays[decisson_state_index][2] = new_obj;
}
//Remove the questions not accesed from the object

Remove the questions not accesed from the object
Remove the questions not accesed from the object
function update_obj() {
  var cur_q_index = decision_arrays[decisson_state_index][3];
  var cur_q_objs = decision_arrays[decisson_state_index][2];
  var new_obj = {};
  for (var i = 0; i < cur_q_index + 1; i++) {
    new_obj[Object.keys(cur_q_objs)[i]] = cur_q_objs[Object.keys(cur_q_objs)[i]];
  }
  decision_arrays[decisson_state_index][2] = new_obj;
}
function update_obj ( ) { var cur_q_index = decision_arrays [ decisson_state_index ] [ 3 ] ; var cur_q_objs = decision_arrays [ decisson_state_index ] [ 2 ] ; var new_obj = { } ; for ( var i = 0 ; i < cur_q_index + 1 ; i ++ ) { new_obj [ Object . keys ( cur_q_objs ) [ i ] ] = cur_q_objs [ Object . keys ( cur_q_objs ) [ i ] ] ; } decision_arrays [ decisson_state_index ] [ 2 ] = new_obj ; }
Remove the questions not accesed from the object
Remove the questions not accesed from the object