[whatwg] executeSql shouldn't have variable length arguments
aa at google.com
Fri Oct 5 16:51:19 PDT 2007
To clarify, my proposed alternative is that the second argument should
just be an array:
executeSql(sql, ["foo", "bar", "baz"], callback);
On 10/5/07, Aaron Boodman <aa at google.com> wrote:
> Scott just pointed out to me that the current spec has executeSql
> taking a variable number of arguments:
> We tried this in Gears at first, but learned quickly that it was a
> huge pain to work with. Dealing with the arguments collection in
> and converting them to the variable length at the last minute.
> Summary: variable length arguments seem cute at first, but end up
> being more pain that they are worth.
> - a
More information about the whatwg