Array.of()

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

Explanation: The static method that creates a new array with a variable number of arguments, no matter how many or what type they are. It's a convenient way to create arrays without worrying about how the values are interpreted.

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