Subj : Re: Value of Assignment Expression... To : netscape.public.mozilla.jseng From : sukhisoul Date : Thu Feb 03 2005 05:54 am Hi there, Thanks for great support guys. The fix worked. However, now I seem to have another bug, this time in for - in loop. The test case is as follows: function Car(color,abs,cd) { this.color = color; this.abs = abs; this.cd = cd; this.wheels = 4; this.price = "high"; return this; } var myCar = new Car("red",true,false); for (var key in myCar) { count++; document.write("
" + key); /* in second loop, delete wheels property */ if (count==1) delete(myCar.wheels); } In the above code, since the wheels property is being deleted in 2nd iteration itself, we dont expect the document.write() to output "wheels". But it does. "delete()" works fine, it does its job, as can be seen by printing all properties of car after the above code (it does not print "wheels"). This means trouble really is in iterating the properties of myCar object. So, it this another bug? Thanks Milind .