mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
199 B
19 lines
199 B
7 years ago
|
// Flags: --stack_trace_limit=3
|
||
|
|
||
|
'use strict';
|
||
|
require('../common');
|
||
|
|
||
|
async function f() {
|
||
|
await f();
|
||
|
}
|
||
|
|
||
|
async function g() {
|
||
|
try {
|
||
|
await f();
|
||
|
} catch (e) {
|
||
|
console.log(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
g();
|