summaryrefslogtreecommitdiff
path: root/ext/console/01_console.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/console/01_console.js')
-rw-r--r--ext/console/01_console.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/console/01_console.js b/ext/console/01_console.js
index 6812583e0..017e6cb77 100644
--- a/ext/console/01_console.js
+++ b/ext/console/01_console.js
@@ -179,7 +179,7 @@ class AssertionError extends Error {
}
}
-function assert(cond, msg = "Assertion failed.") {
+function assert(cond, msg = "Assertion failed") {
if (!cond) {
throw new AssertionError(msg);
}
@@ -3236,8 +3236,8 @@ class Console {
table = (data = undefined, properties = undefined) => {
if (properties !== undefined && !ArrayIsArray(properties)) {
throw new Error(
- "The 'properties' argument must be of type Array. " +
- "Received type " + typeof properties,
+ "The 'properties' argument must be of type Array: " +
+ "received type " + typeof properties,
);
}