jsfunfuzz discovered this quickly after I let it know that bug 367731 was marked as WFM. js> (function () {#1=(a = b);}) (function () {#1=a = b;}) js> (function () {#1=a = b;}) typein:10: SyntaxError: invalid assignment lefthand side: typein:10: (function () {#1=a = b;}) typein:10: ...................^
//problem is in another case // say following (function () {x={a:x=(a = b, 1)};}) ;// give ==> (function () {x = {a: x = (a = b, 1)};}) ;// give ==> (function () {x = {a: x = (a = b, 1)};}) ; // but (function () {x={a:#1=(a = b, a)};}) ; // gives ==> (function () { x = {a: #1=a = b, a};}) ; // gives ==> // error invalid assignment lefthand side issue exist even in Mozilla/5.0 (Windows; U; Windows NT 6.0; enUS; rv:1.9.2.5pre) Gecko/20100530 Namoroka/3.6.5pre
// original case work around (function () {#1=(a = b);}) ;// make it as ==> (function () {a =(#1=b);}) ;// gives ==> (function () {a = #1=b;}) ;// gives ==> (function () {a = #1=b;}) ;
Comment 3•6 years ago


Fixed by bug 566700, the removal of sharp variables.
Description
•