_asciiToArray.js 257 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/**
 * 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;