Build
Docs
Reference
Guides
Blog
Discord
/
node:assert
/
default
/
AssertionError
/
captureStackTrace
M
captureStackTrace
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:assert
/
default
/
AssertionError
/
captureStackTrace
M
captureStackTrace
method
assert.default.AssertionError.captureStackTrace
static
captureStackTrace
(
targetObject
:
object
,
constructorOpt
?
:
Function
)
:
void
;
Create .stack property on a target object