.copyWithin()

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

Explanation: The method that copies part of an array from the start index to the end index (not included) and pastes it into a specified position within the same array. It overwrites existing elements in place without adding or removing items.

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 32
  • The safari browser supports this feature starting from version 9
Availability: