"Jacob Carlborg" <doob at me.com> wrote in message news:jiq8kb$1ht0$1 at digitalmars.com... >> >> CommaExp's containing Declarations > > Is he saying "var a, b, c;" is invalid JavaScript code? > > -- > /Jacob Carlborg It's invalid if it's a comma expression. eg. auto x = (auto a = 3, a); Which dmd creates _everywhere_.