_join = function( /*args*/ ) {
      var arr = Array.prototype.slice.call(arguments, _join.length);
      return arr.join(separator = '-');
    }
jspsych-survey-multi-select
a jspsych plugin for multiple choice survey questions

documentation: docs.jspsych.org