diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
| commit | 2da9893da33f05fd9122b6052c67eabcd570b0d5 (patch) | |
| tree | fb9fcd9ea13aae2f6c29b2e8ae20a6472c7fc9c0 /util.ts | |
| parent | 7828d7fd7a4ccfc7ba41765131ac82bccd2e43bb (diff) | |
Format
Diffstat (limited to 'util.ts')
| -rw-r--r-- | util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |
