// Call console with too many arguments
console.log.apply(console, new Array(1000000000)); // RangeError: Invalid array length