You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
257 B

4 years ago
  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;