v8.dev
v8.dev copied to clipboard
Update stack-trace-api.md
Added that setting Error.stackTraceLimit = undefined also disables stack traces like setting it to zero does.
I suspect that is true for any non-number value (and also negative numbers, but that is implicit in the statement that any finite integer defines the maximum), but I can only say for sure it's the case for undefined.
Note that at some point in the past setting it to undefined used to have the same effect that Infinity has now. I'm not sure when that changed, it may have been many years ago, but at some point it was true, at least in Chrome.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Could you sign the CLA to land your PR? https://cla.developers.google.com/. Thanks!
Could you sign the CLA to land your PR?
I already did