On Nov 19, 2011, at 2:20 PM, Rick Waldron wrote: > > Q. We don't use option parameter like that in JS (see previous point for > actual example) > > Using an object-as-option parameter is a very common API design pattern in > real-world JavaScript today - why anyone would say otherwise is confounding.
Right. For example, ES5's property descriptor and property descriptor map parameters. /be
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss