From 3c324a716d178b155372aa5fda82738d40bd48fa Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 16 Mar 2017 23:41:11 -0700 Subject: [PATCH] Remove `toString` use from `createCaseFirst`. --- .internal/createCaseFirst.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/.internal/createCaseFirst.js b/.internal/createCaseFirst.js index d306c97f1..029097a2f 100644 --- a/.internal/createCaseFirst.js +++ b/.internal/createCaseFirst.js @@ -1,7 +1,6 @@ import castSlice from './castSlice.js' import hasUnicode from './hasUnicode.js' import stringToArray from './stringToArray.js' -import toString from '../toString.js' /** * Creates a function like `lowerFirst`. @@ -12,8 +11,6 @@ import toString from '../toString.js' */ function createCaseFirst(methodName) { return (string) => { - string = toString(string) - const strSymbols = hasUnicode(string) ? stringToArray(string) : undefined