diff options
Diffstat (limited to 'doc/api/assert.md')
-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 c373544093..9a37d5f26c 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -442,6 +442,8 @@ argument in callbacks. ```js const assert = require('assert').strict; +assert.ifError(null); +// OK assert.ifError(0); // OK assert.ifError(1); |