You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
5 years ago
|
/**
|
||
|
* Converts an ASCII `string` to an array.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {string} string The string to convert.
|
||
|
* @returns {Array} Returns the converted array.
|
||
|
*/
|
||
|
function asciiToArray(string) {
|
||
|
return string.split('');
|
||
|
}
|
||
|
|
||
|
module.exports = asciiToArray;
|