Update app.js

This commit is contained in:
Namhyeon Go 2022-01-27 14:21:05 +09:00 committed by GitHub
parent 1b4e885ea1
commit f20817a12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.js
View File

@ -58,7 +58,7 @@ var console = {
}, },
_echoCallback: null, _echoCallback: null,
_echo: function(args, type) { _echo: function(args, type) {
// if not type is "log", then "{type}: {msg}" // if not type is "log", then "{type}: {msg}"
msg = (typeof(type) !== "undefined" ? type + ": " : "") + this._join(args); msg = (typeof(type) !== "undefined" ? type + ": " : "") + this._join(args);
if (typeof(WScript) !== "undefined") { if (typeof(WScript) !== "undefined") {
WScript.echo(" * " + msg); WScript.echo(" * " + msg);