v8.dev icon indicating copy to clipboard operation
v8.dev copied to clipboard

Update stack-trace-api.md

Open php4fan opened this issue 1 year ago • 3 comments

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.

php4fan avatar May 12 '24 22:05 php4fan

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.

google-cla[bot] avatar May 12 '24 22:05 google-cla[bot]

Could you sign the CLA to land your PR? https://cla.developers.google.com/. Thanks!

camillobruni avatar May 29 '24 07:05 camillobruni

Could you sign the CLA to land your PR?

I already did

php4fan avatar May 29 '24 11:05 php4fan