On Jul 19, 2011, at 10:06 AM, Dmitry A. Soshnikov wrote: > Object.extend(src, dest)
This is certainly closest to paving the cowpath. Either via a built-in module exporting 'extend', or as you suggest, directly on Object. The Object.extend route is a bit harder to analyze, but not fatally so for any capable static analysis framework. Either way (built-in module or Object.extend), old script (Hi Luke! ;-) could use it too. /be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss