jquery/jquery — pull request #714 by tks2103 (2012-03-23 19:22:37+00:00)
Title: Fixes #8653, handle undefined and null values in jQuery.param()

What's up! First time contributor...

Comment 3 from jaubourg mentions a suggestion that seemed the most reasonable.

With my change, it is possible to specify an empty string and an null value in an AJAX request or URLQueryString, however it is not possible to recognize an undefined value. I simply skip over those; reasoning is that one probably wouldn't want to specify that anyway.

Interesting note, if you pass an array with an undefined element, you will lose information about the number of elements in that array in the URLQueryString. This is reflected in the unit tests; a two element array with one undefined value now shows up as a single element in the QueryString. Problem? Dunno, would love some input on if that would be the expected behavior!

tks2103

Size diff, for those interested.

```
jQuery Size - compared to last make
252962 (+75) jquery.js
94869 (+23) jquery.min.js
33659 (+10) jquery.min.js.gz
```