Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
257 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 |
|
---|
| 12 | module.exports = asciiToArray;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.