From de528b90cce395fa0f2b4ee3e2b4e6aaa4881ed0 Mon Sep 17 00:00:00 2001 From: php4fan Date: Mon, 13 May 2024 00:09:43 +0200 Subject: [PATCH] Update stack-trace-api.md --- src/docs/stack-trace-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/stack-trace-api.md b/src/docs/stack-trace-api.md index cff70dd09..5891431bf 100644 --- a/src/docs/stack-trace-api.md +++ b/src/docs/stack-trace-api.md @@ -28,7 +28,7 @@ The stack trace is collected when the error is created and is the same regardles Error.stackTraceLimit ``` -Setting it to `0` disables stack trace collection. Any finite integer value can be used as the maximum number of frames to collect. Setting it to `Infinity` means that all frames get collected. This variable only affects the current context; it has to be set explicitly for each context that needs a different value. (Note that what is known as a “context” in V8 terminology corresponds to a page or `