From c747a8b351b0246af5dedcb14f4765da8862993f Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Tue, 30 Jul 2019 21:17:41 +0700 Subject: [PATCH] DEBUG --- lib/history.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/history.js b/lib/history.js index 80209ed..8a2f122 100644 --- a/lib/history.js +++ b/lib/history.js @@ -8,7 +8,9 @@ function push(item) { } function dump() { - return history.toarray(); + const result = history.toarray(); + console.log(JSON.stringify(result, null, 2)); + return result; } exports.push = push; -- 1.9.0