Try enclosing the expression in square brackets.
[TEST[rand(1:5)] += 1 for i in 1:10]
In Julia, they’re called ‘array comprehensions’.
Try enclosing the expression in square brackets.
[TEST[rand(1:5)] += 1 for i in 1:10]
In Julia, they’re called ‘array comprehensions’.