mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
b2634238d8
So that coverage, .etc are properly written in case of a normal fatal exception. PR-URL: https://github.com/nodejs/node/pull/29611 Fixes: https://github.com/nodejs/node/issues/29570 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ben Coe <bencoe@gmail.com>
8 lines
96 B
JavaScript
8 lines
96 B
JavaScript
const a = 99;
|
|
if (true) {
|
|
const b = 101;
|
|
} else {
|
|
const c = 102;
|
|
}
|
|
throw new Error('test');
|