PR-URL: https://github.com/nodejs/node/pull/55192 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
8 lines
240 B
JavaScript
8 lines
240 B
JavaScript
// META: global=window,dedicatedworker,shadowrealm
|
|
"use strict";
|
|
// https://console.spec.whatwg.org/
|
|
|
|
test(() => {
|
|
console.log(new Array(10000000).fill("x"));
|
|
console.log(new Uint8Array(10000000));
|
|
}, "Logging large arrays works");
|