On Sat, May 15, 2010 at 16:47, Brendan Eich <[email protected]> wrote: > The exported name is draw, the rename target is drawShape, so you want > > import {draw: drawShape} from Geometry. > > Compare destructuring: > > let {draw: drawGun} = cowboy; > drawGun();
See, even after I knew the rules it was too confusing. Can we go back to using "as"? import draw as drawGun from Cowboy; -- erik _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

