문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top