Remove unused function charAtCallback.

This commit is contained in:
jdalton
2015-05-23 16:14:15 -07:00
parent a76c10416d
commit 979e0de659

View File

@@ -395,17 +395,6 @@
return value == null ? '' : (value + '');
}
/**
* Used by `_.max` and `_.min` as the default callback for string values.
*
* @private
* @param {string} string The string to inspect.
* @returns {number} Returns the code unit of the first character of the string.
*/
function charAtCallback(string) {
return string.charCodeAt(0);
}
/**
* Used by `_.trim` and `_.trimLeft` to get the index of the first character
* of `string` that is not found in `chars`.