mirror of
https://github.com/nodejs/node.git
synced 2026-10-29 02:35:20 +08: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');
|
|
|
|
|