Closed ghermeto closed 5 years ago
See #8.
I think we can kind of do a two-phase approach with the stack omission portion of this proposal. We can at first add a hand-wavey normative note that requires the marked function not to appear in any stack traces made available to the JavaScript program. When the error stacks proposal makes progress, we can phrase this restriction more formally.
@domenic Thoughts?
Yep, exactly my thoughts, with my past self's code to back me up.
Shouldn't this wait for the
Error.prototype.stack
to be standardized?https://github.com/tc39/proposal-error-stacks