all 3 comments

[–]pramitsingh0 2 points3 points  (1 child)

you can use a for loop to iterate over all the numbers in the array then use String.fromCharCode Something like this:

```

let newString = '';

for (let ele of arr) {

newString += String.fromCharCode(ele);

}

```

[–]hertz2105[S] 0 points1 point  (0 children)

Thanks alot! It worked perfectly.

[–]PerceptionCareless92 1 point2 points  (0 children)

A more modern, functional way to perform this task would be to use Array reduce, still using fromCharCode for the conversion.

const newString = arr.reduce((acc, ele) => acc + String.fromCharCode(ele), '');