File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,9 @@ markEffects: true
2525 <h1>Properties of the Error Constructor</h1>
2626
2727 <emu-clause id="sec-error.capturestacktrace">
28- <h1>Error.captureStackTrace ( _error_ [ , _constructor_ ])</h1>
28+ <h1>Error.captureStackTrace ( _error_ [ , _constructor_ ] )</h1>
2929 <emu-alg>
3030 1. If _error_ is not an Object, throw a *TypeError* exception.
31- 1. If _constructor_ is not *undefined*, then
32- 1. If IsCallable(_constructor_) is *false*, throw a *TypeError* exception.
33- 1. TODO: No implementations currently check that _constructor_ is callable, this may not be web compatible.
3431 1. If IsCallable(_constructor_) is *true*, then
3532 1. Let _string_ be an implementation-defined string that represents the current stack trace, with all stack
3633 frames above the topmost call to _constructor_, including that call, omitted from the stack trace.
You can’t perform that action at this time.
0 commit comments