Parcourir la source

Try variable number of command line arguments

Foppe Hemminga il y a 6 ans
Parent
commit
50490d4520
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
+            return console.log(text.join(','));
         }
     }
 </script>