Subj : Value of Assignment Expression... To : netscape.public.mozilla.jseng From : sukhisoul Date : Wed Feb 02 2005 05:30 am Hello all, The testers in my team are complaining that the following test case fails: var b=8; var c, r ; var a=2; r = delete(c=a + b); document.write("
" + c + "
"); The trouble seems to be that the value of c after delete statement is "undefined" when they expect it to be 10. For once, I have to agree with them, since the standard says that when evaluating expr. c = a + b, c should get the value of 10(=a + b) and delete should also receive the value of right hand operand ie. 10. If I split the delete statement into 2, as follows, everything seems work fine. c = a + b; r = delete(c); So, is this a bug? I am using JS1.5 RC6a release of Jun '04. Thanks, Milind .