Frage

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!

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top