Переглянути джерело

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>