mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
b6738c1af0
PR-URL: https://github.com/nodejs/node/pull/47498 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
14 lines
197 B
JavaScript
14 lines
197 B
JavaScript
'use strict';
|
|
require('../../common');
|
|
const four = require('../async-error');
|
|
|
|
async function main() {
|
|
try {
|
|
await four();
|
|
} catch (e) {
|
|
console.error(e);
|
|
}
|
|
}
|
|
|
|
queueMicrotask(main);
|