This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
<p>Array.length result (value): <span id='al'></span></p> <script> var associative_array_String = new Array(); associative_array_String["one"] = "Lorem"; associative_array_String["two"] ="Ipsum"; associative_array_String["three"] = "dolor"; document.getElementById('al').innerHTML=associative_array_String.length; //result is 0 </script>
This is outside the scope of the JavaScript / Web ECMAScript spec. See <http://javascript.spec.whatwg.org/#goals>. To propose changes to the ECMAScript language, please file a bug on https://bugs.ecmascript.org/.