UNPKG
foop
Version:
beta (5.0.0)
latest (5.0.0)
5.0.0
interfaces that describe their intentions.
github.com/fluents/chain-able
fluents/chain-able
foop
/
deps
/
string
/
charCodeAtZero.js
11 lines
(10 loc)
•
245 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** *
@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
)