mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
cover prepare_stack_trace in case when trace is empty PR-URL: https://github.com/nodejs/node/pull/30311 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
7 lines
85 B
JavaScript
7 lines
85 B
JavaScript
"use strict";
|
|
|
|
Error.stackTraceLimit = 0;
|
|
throw new RangeError('emptyStackError');
|
|
|
|
|