| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Error/stackTraceLimit | [Back] [Original] |
Get to know MDN better
Error.stackTraceLimit | |
|---|---|
stackTraceLimit Error Error.stackTraceLimit Error
Error.stackTraceLimit
Error.stackTraceLimit = 2;
const a = () => b();
const b = () => c();
const c = () => d();
const d = () => e();
const e = () => {
throw new Error("My error");
};
try {
a();
} catch (e) {
console.log(e.stack);
}
// 2
| Web Proxy Viewer | New URL | Original Page |