Selaa lähdekoodia

Try variable number of command line arguments

Foppe Hemminga 6 vuotta sitten
vanhempi
commit
50490d4520
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>