node/test/fixtures/source-map/output/source_map_throw_class_method.js
Chengzhong Wu f33e0fcc83
lib: add type names in source mapped stack traces
The type name is determined by the constructor name of the receiver in a
call site.

PR-URL: https://github.com/nodejs/node/pull/58976
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-08-01 17:11:57 +00:00

7 lines
143 B
JavaScript

'use strict';
// Flags: --enable-source-maps
require('../../../common');
Error.stackTraceLimit = 2;
require('../throw-class-method.min.js');