summaryrefslogtreecommitdiff
path: root/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util.ts')
-rw-r--r--util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.ts b/util.ts
index 7d0acfce7..e92714d99 100644
--- a/util.ts
+++ b/util.ts
@@ -15,7 +15,7 @@ _global["console"] = {
log(...args: any[]): void {
const out: string[] = [];
for (const a of args) {
- if (typeof(a) === "string") {
+ if (typeof a === "string") {
out.push(a);
} else {
out.push(JSON.stringify(a));