( key, valueOrFunction )
| 8766 | var prefix, |
| 8767 | s = [], |
| 8768 | add = function( key, valueOrFunction ) { |
| 8769 | |
| 8770 | // If value is a function, invoke it and use its return value |
| 8771 | var value = isFunction( valueOrFunction ) ? |
| 8772 | valueOrFunction() : |
| 8773 | valueOrFunction; |
| 8774 | |
| 8775 | s[ s.length ] = encodeURIComponent( key ) + "=" + |
| 8776 | encodeURIComponent( value == null ? "" : value ); |
| 8777 | }; |
| 8778 | |
| 8779 | if ( a == null ) { |
| 8780 | return ""; |
no test coverage detected