wiki/content/20201113105847-array_of.md

16 lines
227 B
Markdown
Raw Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-29 18:27:12 +00:00
date: 2020-11-13
2024-05-06 20:40:05 +00:00
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]
```