We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b1911 commit b55eff4Copy full SHA for b55eff4
shell-config.js
@@ -29,8 +29,8 @@ if (typeof console == "undefined")
29
30
console.debug ??= (...args) => console.log("Debug:", ...args);
31
console.log ??= (...args) => print(args.join(" "));
32
-console.warn ??= (...args) => console.log("Warn:", ...args);
33
-console.error ??= (...args) => console.log("Error:", ...args);
+console.warn ??= (...args) => printErr("Warn: " + args.join(" "));
+console.error ??= (...args) => printErr("Error: " + args.join(" "));
34
console.assert ??= (condition, message) => {
35
if (!condition)
36
throw new Error(`Assertion failed: ${message}`);
0 commit comments