On 9/21/10, Ojan Vafai <ojan@chromium.org> wrote: > How about setParameter(name, value...) that takes var_args number of values? > Alternately, it could take either a DOMString or an Array<DOMString> for the > value. I prefer the var_args. > Why? A user-defined fallback will be necessary for a while. The downside of using varargs is that any user-defined fallback has to resort to using the arguments object. Your alternate doesn't have that problem. -- GarrettReceived on Tuesday, 21 September 2010 08:05:42 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT