diff --git a/ext/console/01_console.js b/ext/console/01_console.js index 6812583e0b..017e6cb772 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, ); }