From c77ffa0f6ae18a34543b720782eec51bea7e529c Mon Sep 17 00:00:00 2001 From: jdalton Date: Sun, 28 Jun 2015 14:26:18 -0700 Subject: [PATCH] Simplify `baseToString`. --- lodash.src.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index 386dba914..6aa8d435d 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -382,9 +382,6 @@ * @returns {string} Returns the string. */ function baseToString(value) { - if (typeof value == 'string') { - return value; - } return value == null ? '' : (value + ''); }