wiki/content/20201111093227-javascript_rangeerror.md

10 lines
225 B
Markdown
Raw Normal View History

2024-05-06 20:40:05 +00:00
---
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
```