How to use fill method to set the elements of an array in JavaScript

Published --