Good point, Dart2js isn't the only compiler that can apply optimizations. I believe Closure Compiler also performs optimizations. Both GWT and Closure have been out for years, to be fair. :)
[disclaimer: I work on the Dart team]
[disclaimer: I work on the Dart team]