From 214e9753d8fe42d73daef35c6a40520ab20fad45 Mon Sep 17 00:00:00 2001 From: Olav van Schie Date: Sun, 15 Oct 2017 21:21:14 +0200 Subject: [PATCH] Update index.js --- src/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index a99ee73..ebcae8d 100755 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,7 @@ -window.dump = function (data) { - console.log(data); +window.dump = function (...data) { + data.forEach(function(element) { + console.log(element); + }); }; window.dd = function (...data) {