summaryrefslogtreecommitdiff
path: root/lib/internal/console/constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/console/constructor.js')
-rw-r--r--lib/internal/console/constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/console/constructor.js b/lib/internal/console/constructor.js
index 84339310f0..42c35c14a8 100644
--- a/lib/internal/console/constructor.js
+++ b/lib/internal/console/constructor.js
@@ -358,7 +358,7 @@ Console.prototype.trace = function trace(...args) {
Console.prototype.assert = function assert(expression, ...args) {
if (!expression) {
args[0] = `Assertion failed${args.length === 0 ? '' : `: ${args[0]}`}`;
- this.warn(...args); // the arguments will be formatted in warn() again
+ this.warn(...args); // The arguments will be formatted in warn() again
}
};