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
25
25
<h1>Properties of the Error Constructor</h1>
26
26
27
27
<emu-clause id="sec-error.capturestacktrace">
28
- <h1>Error.captureStackTrace ( _error_ [ , _constructor_ ])</h1>
28
+ <h1>Error.captureStackTrace ( _error_ [ , _constructor_ ] )</h1>
29
29
<emu-alg>
30
30
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.
34
31
1. If IsCallable(_constructor_) is *true*, then
35
32
1. Let _string_ be an implementation-defined string that represents the current stack trace, with all stack
36
33
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