( key, valueOrFunction )
| 8926 | var prefix, |
| 8927 | s = [], |
| 8928 | add = function( key, valueOrFunction ) { |
| 8929 | |
| 8930 | // If value is a function, invoke it and use its return value |
| 8931 | var value = isFunction( valueOrFunction ) ? |
| 8932 | valueOrFunction() : |
| 8933 | valueOrFunction; |
| 8934 | |
| 8935 | s[ s.length ] = encodeURIComponent( key ) + "=" + |
| 8936 | encodeURIComponent( value == null ? "" : value ); |
| 8937 | }; |
| 8938 | |
| 8939 | if ( a == null ) { |
| 8940 | return ""; |
no test coverage detected