summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7ceb8df..549459e 100644
--- a/README.md
+++ b/README.md
@@ -1108,3 +1108,8 @@ Throws an exception if the given prototype value is not an object.
Pause execution for the given amount of milliseconds. Returns `false` if
an invalid value was passed, otherwise `true`.
+
+#### 6.56. `assert(cond[, message])`
+
+Raise an exception with the given `message` parameter if the value in `cond`
+is not truish. When `message` is omitted, the default value is `Assertion failed`.