From 824f642038d1b02ede68b6261d1d65163390929a Mon Sep 17 00:00:00 2001 From: Francis Date: Thu, 8 May 2014 07:50:37 -0700 Subject: [PATCH] Eliminate `longest` fn. Pull request removes `longest` since it is not used anywhere within `index.js`. --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index 584f551..d181233 100644 --- a/index.js +++ b/index.js @@ -182,6 +182,3 @@ function isNumber (x) { return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x); } -function longest (xs) { - return Math.max.apply(null, xs.map(function (x) { return x.length })); -}