mirror of
https://gitea.com/actions/setup-python.git
synced 2024-11-23 02:29:35 +01:00
13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
|
/**
|
||
|
* 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;
|