Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /console/console-log-large-array.any.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.any.shadowrealm-in-dedicatedworker.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.any.shadowrealm-in-shadowrealm.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.any.shadowrealm-in-sharedworker.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.any.shadowrealm-in-window.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.any.worker.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.https.any.shadowrealm-in-audioworklet.html - WPT Dashboard Interop Dashboard
- /console/console-log-large-array.https.any.shadowrealm-in-serviceworker.html - WPT Dashboard Interop Dashboard
// META: global=window,dedicatedworker,shadowrealm
"use strict";
test(() => {
console.log(new Array(10000000).fill("x"));
console.log(new Uint8Array(10000000));
}, "Logging large arrays works");