• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2const common = require('../common');
3
4// This test ensures that console.log
5// will not crash the process if there
6// is not enough space on the V8 stack
7
8const done = common.mustCall(() => {});
9
10async function test() {
11  await test();
12}
13
14(async () => {
15  try {
16    await test();
17  } catch (err) {
18    console.log(err);
19  }
20})().then(done, done);
21