0

The next code returns a Maximum call stack size error:

var array...
String.fromCharCode.apply(null, array)

In Converting array buffer to string - Maximum call stack size exceeded there is an answer for Chrome, but I need it for IE.

(IE does not support reduce function)

2
  • IE does support UintArrays though?! Commented May 5, 2019 at 19:52
  • You right. I edit the question Commented May 5, 2019 at 19:59

1 Answer 1

0

The problem was that the arry too long.

So in this case I change to native loop and it don't fail to maximum recursive:

for (let i = 0; i < array.length; i++) {
     binaryString += String.fromCharCode(array[i])}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.