string.at()
'abc'.at(index) → number
Returns the numeric byte value at a string index.
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| index | number | yes | — | Byte index into the string. |
Returns
number
The byte value at that index.
Example
'abc'.at(0) === 0x61;