Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ovanschie authored Oct 15, 2017
1 parent 7b14cd7 commit 214e975
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 214e975

Please sign in to comment.