this works in laszlo (swf)
var myobject = { x : 1 , y : 2 };
for( var k in myobject ){
myobject[ k + "a" ] = 3;
}
//now myobject == { x : 1 , y : 2 , xa : 3 , ya : 3 }
will this always have the same behavior per the language spec? that is, is
enumeration of an object's keys in a for loop always a stack operation
that happens before the contents of a for loop?
A
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user