diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/assert.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md index fa9416ea73..b0c8c378e6 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -1266,9 +1266,11 @@ a string as the second argument gets considered: function throwingFirst() { throw new Error('First'); } + function throwingSecond() { throw new Error('Second'); } + function notThrowing() {} // The second argument is a string and the input function threw an Error. |