[Laszlo-user] js language question
Adam Wolff
adam at laszlosystems.com
Mon Apr 10 19:18:59 EDT 2006
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
More information about the Laszlo-user
mailing list