[Webkit-unassigned] [Bug 14901] for in loop on an Array does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 8 03:07:27 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14901





------- Comment #1 from atrasatti at mtld.mobi  2007-08-08 03:07 PDT -------
(In reply to comment #0)
Obviously the submitted code sample was wrong.

What I wanted to submit as a sample is:
var mycars=new Array();
mycars[0]='Saab';
mycars[1]='Volvo';
mycars[2]='BMW';
for (var i in mycars) {
        alert('car maker id'+i+', name '+mycars[i]);
}


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list