Commit c747a8b351b0246af5dedcb14f4765da8862993f

Authored by Adhidarma Hadiwinoto
1 parent a5f5921d23
Exists in master

DEBUG

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -8,7 +8,9 @@ function push(item) {
8 8 }
9 9  
10 10 function dump() {
11   - return history.toarray();
  11 + const result = history.toarray();
  12 + console.log(JSON.stringify(result, null, 2));
  13 + return result;
12 14 }
13 15  
14 16 exports.push = push;