Repository URL to install this package:
|
Version:
1.1.21 ▾
|
"use strict";
/**
* @memberOf string
* @name charCodeAtZero
* @version 5.0.0 <- moved from util to string
* @since 4.0.0
* @param {string} str
* @return {number}
* @example charCodeAt('eh') //=> code for e
*/
module.exports = str => str.charCodeAt(0);