1.

Which Method Is Used To Make All Elements Of An Equal To Specified Value?

Answer»

FILL() METHOD assigns a value to all the elements in an array, in other WORDS it FILLS the array with specified value.

fill() method assigns a value to all the elements in an array, in other words it fills the array with specified value.



Discussion

No Comment Found

Related InterviewSolutions