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.