質問

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