PennController for IBEX › Forums › Support › Comprehension questions for some test items in the following? › Reply To: Comprehension questions for some test items in the following?
October 19, 2021 at 5:52 pm
#7404
Jeremy
Keymaster
Add the missing ]
before :
In javascript you can prefix ...
to an array so that the array’s elements are direct arguments of the function rather than the array being an argument itself
(Here it is prefixed to the opening parenthesis of the ternary operator because it returns an array whether the test succeeds of fails)
Jeremy