Browse Source

Try variable number of command line arguments

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
50490d4520
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>