Answers for "how to fill false into array javascript"

1

how to fill false into array javascript

var numeroPerguntas = 5;     
    var anyBoxesChecked = new Array(numeroPerguntas).fill(false);
    console.log(anyBoxesChecked);
Posted by: Guest on May-18-2020

Code answers related to "how to fill false into array javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language