Pregunta

What is the max length of an associative array on IE8?

Ex:

_EnsureJSNamespace('AAA.BBB');
AAA.BBB.Res = {
Cancel : 'Cancel',
Change : 'Change.',
....
};

I have an array that has 36000 characters, and when I trie to insert in into the console I get an error... (not relevant-> "missing : " - it is because it concatenates the array) the error only apears if I insert more than 30 000 chars, it is less, there is no problem.

Thank you!

¿Fue útil?

Solución

It was an console limitation in IE8, not an array limitation.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top