8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd77d87 commit 194d195Copy full SHA for 194d195
test/pummel/test-tls-connect-memleak.js
@@ -44,9 +44,7 @@ tls.createServer({
44
45
{
46
// 2**26 == 64M entries
47
- let junk = [0];
48
-
49
- for (let i = 0; i < 26; ++i) junk = junk.concat(junk);
+ const junk = new Array(2 ** 26).fill(0);
50
51
const options = { rejectUnauthorized: false };
52
tls.connect(common.PORT, '127.0.0.1', options, function() {