From 2e194361b31af73e0b6254abc8da65660ba76861 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Thu, 22 Aug 2019 18:28:58 +0530 Subject: [PATCH] :zap: Used short hand to fetch time --- script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script.js b/script.js index d55b431bf..5b61f0044 100644 --- a/script.js +++ b/script.js @@ -85,8 +85,7 @@ const app = new Vue({ document.getElementsByClassName(el)[0].classList.toggle('hidden') }, sendRequest() { - const d = new Date() - const n = d.toLocaleTimeString() + const n = new Date().toLocaleTimeString() this.history.push({ time: n, method: this.method,