2 * Used by `_.max` and `_.min` as the default callback for string values.
5 * @param {string} string The string to inspect.
6 * @returns {number} Returns the code unit of the first character of the string.
8 function charAtCallback(string) {
9 return string.charCodeAt(0);
12 module.exports = charAtCallback;