Jak wypełnić false do tablicy JavaScript

    var numeroPerguntas = 5;     
    var anyBoxesChecked = new Array(numeroPerguntas).fill(false);
    console.log(anyBoxesChecked);
Relieved Rook