[Webkit-unassigned] [Bug 12878] New: Support for each ( var in collection ) syntax
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 24 10:50:20 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12878
Summary: Support for each ( var in collection ) syntax
Product: WebKit
Version: 522+ (nightly)
Platform: PC
URL: http://server250.reaktix.com/array_for_each.html
OS/Version: All
Status: NEW
Severity: Normal
Priority: P3
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jhaygood at spsu.edu
JavaScript 1.6 supports for each ( var in collection ) syntax, like:
var array = ["foo","bar"];
for each ( var string in array )
{
document.write( string + "<br>" )
}
Should result in:
foo<br>
bar<br>
Currently, it gets an error.
This is one area where we can make the first effort at supporting E4X, but this
is useful in any JavaScript/DOM collection as well.
--
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