Question
Which of these method is used to make all elements of an equal to specified value?
Answer: Option B
Was this answer helpful ?
fill() method assigns a value to all the elements in an array, in other words it fills the array with specified value.
Was this answer helpful ?
Submit Solution