/*eslint no-array-constructor: "error"*/
Array(0, 1, 2)
-```
-
-```js
-/*eslint no-array-constructor: "error"*/
new Array(0, 1, 2)
```
/*eslint no-array-constructor: "error"*/
Array(500)
-```
-
-```js
-/*eslint no-array-constructor: "error"*/
new Array(someOtherArray.length)
+
+[0, 1, 2]
```
## When Not To Use It