Browse Source

Try variable number of command line arguments

Foppe Hemminga 6 years ago
parent
commit
aec798aba3
1 changed files with 1 additions and 1 deletions
  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>