From 4ea8c2ec249be046a0f4ae32539d652194caf74f Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 15 Jun 2018 06:20:07 -0400 Subject: [PATCH] Remove unused var from tail(). --- tail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tail.js b/tail.js index f867a2759..ef837d408 100644 --- a/tail.js +++ b/tail.js @@ -15,7 +15,7 @@ function tail(array) { if (!length) { return [] } - const [head, ...result] = array + const [, ...result] = array return result }