> So, if I understand you, the third argument is exposed to the API but > not like an set that will be filled with additional query, but like an > simple array which the new elements will be simply appended. > So if the user would use the third argument, later, he will eventually > resort and removes the duplicates too. Am I corect?
Yes, that's correct. If, for some reason, someone passed in an array of elements it would be their job to do any sorting or uniqueing. Although, that's not how the API is intended to be used. In the case of jQuery it passes in the jQuery object itself upon which all the matched elements are added and sorted - so it works out nicely. Naturally that works well for the case of "a, b" as well. --John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
