I have a list of Unicode values [65, 66, 67]
and I want the corresponding string "ABC"
. I looked into the documentation and found the function String.fromCharCode()
that does what I need to do. The only problem is that the arguments needs to be a sequence of numbers.
So if I use String.fromCharCode([65, 66, 67])
it gives me " "
.
Is there a way that allows the list to be treated as a sequence for a function?