浏览代码

Try variable number of command line arguments

Foppe Hemminga 6 年之前
父节点
当前提交
aec798aba3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -56,7 +56,7 @@
     let _debug = false;
     function log(...text) {
         if (_debug) {
-            return console.log(text.join(','));
+            return console.log(...text);
         }
     }
 </script>