I have a prototype like this;
LocalDataEngine.prototype.ExecuteNonQuery = function (query) { }
And I call this prototype within two different argument like below;
By using object array;
var createQueries = new Array();
createQueries.push(new SQLiteQuery(""));
createQueries.push(new SQLiteQuery(""));
createQueries.push(new SQLiteQuery(""));
new LocalDataEngine().ExecuteNonQuery(createQueries);
By using only object;
new LocalDataEngine().ExecuteNonQuery(new SQLiteQuery(""));
My question is, how can I determine query
argument in prototype is object array or object?