mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
PR-URL: https://github.com/nodejs/node/pull/47498 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
7 lines
154 B
JavaScript
7 lines
154 B
JavaScript
'use strict';
|
|
require('../../common');
|
|
Error.stackTraceLimit = 1;
|
|
|
|
const EventEmitter = require('events');
|
|
new EventEmitter().emit('error', new Error());
|