Globalization API discussion

Brendan Eich brendan at mozilla.com
Sat Nov 19 14:50:29 PST 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111119/25d16168/attachment.html>


More information about the es-discuss mailing list