Преглед изворни кода

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>