cs142/project2/node_modules/lodash/_asciiToArray.js

13 lines
257 B
JavaScript
Raw Normal View History

2020-08-01 22:26:11 +00:00
/**
* 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;