test2.html
513 Bytes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>test</title>
<script type="text/javascript">
<!--
arr = new Array ();
arr['hallo'] = 'hallo';
arr[0] = 'du';
arr[19] = 'bla';
arr['trudel'] = 'fudel';
arr['31'] = 'glugsbla';
console.dir (arr);
console.log ('%d', arr.length);
for (a in arr)
console.log ('%s: %s', a, arr[a]);
-->
</script>
</head>
<body>
</body>
</html>