79
rated 0 times
[
80]
[
1]
/ answers: 1 / hits: 123885
/ 6 Years ago, sat, december 22, 2018, 12:00:00
I have an array of booleans, which begins as false, because at least one of the values is false:
var validation = [false, true, true]
In certain moment, it'll have all the options(index) as true, like:
validation = [true, true, true]
How can I set this array as true when all the options are true?
Sorry for the silly question.
More From » arrays