mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
15 lines
227 B
Markdown
15 lines
227 B
Markdown
---
|
|
date: 2020-11-13
|
|
id: 5952e353-e25e-4a74-95ce-8099891212c5
|
|
title: Array.of()
|
|
---
|
|
|
|
# Description
|
|
|
|
This returns an array of the passed parameters
|
|
|
|
# Syntax
|
|
|
|
``` javascript
|
|
console.log(Array.of(1, 2, 3, 4)) // [1, 2, 3, 4]
|
|
```
|