Question

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!

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top