From c32bc4525df116ec9598cef19028201a52f74e79 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Tue, 15 May 2018 14:42:11 +0530 Subject: [PATCH] [fix] missing declarations --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 6d8dd4c..fd85f59 100644 --- a/index.js +++ b/index.js @@ -91,10 +91,10 @@ const infiniteList = { }; // Clear cache manually. - clearCache = () => (cache = [], undefined); + const clearCache = () => (cache = [], undefined); - top = function () { return this.get(0) }; - end = function () { return this.get(Infinity) }; + const top = function () { return this.get(0) }; + const end = function () { return this.get(Infinity) }; const returns = { get, take,