mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
10 lines
242 B
Markdown
10 lines
242 B
Markdown
---
|
|
date: 2020-11-11
|
|
id: 67198605-05a4-4a1b-9083-d4e445b38344
|
|
title: JavaScript RangeError
|
|
---
|
|
|
|
``` javascript
|
|
// Call console with too many arguments
|
|
console.log.apply(console, new Array(1000000000)); // RangeError: Invalid array length
|
|
```
|