_asciiToArray.js 257 B

12345678910111213
  1. /**
  2. * Converts an ASCII `string` to an array.
  3. *
  4. * @private
  5. * @param {string} string The string to convert.
  6. * @returns {Array} Returns the converted array.
  7. */
  8. function asciiToArray(string) {
  9. return string.split('');
  10. }
  11. module.exports = asciiToArray;