Hi everyone,
I am trying to create 2 global variables out of a list of 35 words (without replacement). In the current code, I can successfully choose 1 word from this list and create a global variable, using:
var ethnicity = API.shuffle([...])[0];
API.addGlobal({
ethnicity : ethnicity});
Do you know how I could instead select two words to create two global variables? To clarify, we are trying to assign each participant to 2 groups out of 35 to ask them to rate their perceptions of these groups, so it's crucial that there's no replacement.
Any help would be very appreciated!
Selin