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
/
cast
/
asciiToArray.js
14 lines
(12 loc)
•
284 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Converts an ASCII `string` to an array. *
@since
5.0.0-beta.6 *
@memberOf
cast * *
@param
{string} string The string to convert. *
@returns
{Array} Returns the converted array. */
function
asciiToArray
(
string
)
{
return
string
.
split
(
''
) } module.exports = asciiToArray