psychopy.org | Reference | Downloads | Github

data.importConditions: what is equvalent in javascript?

Hi.
Can somebody help me to translate this piece of code to javascript?
language = “english”
instructions = data.importConditions(‘instr.xlsx’)
current_instr = instructions[0][language];

i am not sure what is the equivalent of this javascript.

Hi there,

Just wondering have you figured this out? I am having the same issue but did not find an answer to it, just wondering if you have any solution. Many thanks in advance.

The way to translate the second line of code (data.importConditions) can be found in this post: Access Condition File variables online experiement