PennController for IBEX › Forums › Support › Unable to randomize fillers and experimental items › Reply To: Unable to randomize fillers and experimental items
March 13, 2023 at 11:56 am
#10370
Jeremy
Keymaster
Hi,
Did you mean to write row.Question!==undefined && row.QUESTION
instead? Because the error you should get should be about table
not being defined
You can use hasOwnProperty
to check that an object has an attribute: ...(row.hasOwnProperty("Question") && table.QUESTION ? [
and also further down: .log("list", (row.hasOwnProperty("LIST")?"filler":row.LIST))
Jeremy