UNPKG

wat

Version:

Community-controlled cheat sheets for every coder.

8 lines (6 loc) 183 B
## Array.of(element[, elementN...]) Returns an array from the passed in arguments. ```js const arr = Array.of(1, 2, 3); // [1, 2, 3] const arr = Array.of(3); // [3] ```