.fill()

Term side of the Card
Topic: Array
Unit title: .fill()
Categories: Method
Explanation side of the Card

Explanation: The method that fills all or part of an array with a static value from the start index to the end index (not included). It modifies the array in place without adding or removing elements

Browser compatibility:
  • The chrome browser supports this feature starting from version 45
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 31
  • The safari browser supports this feature starting from version 8
Availability: