( key, valueOrFunction )
| 56 | var prefix, |
| 57 | s = [], |
| 58 | add = function( key, valueOrFunction ) { |
| 59 | |
| 60 | // If value is a function, invoke it and use its return value |
| 61 | var value = typeof valueOrFunction === "function" ? |
| 62 | valueOrFunction() : |
| 63 | valueOrFunction; |
| 64 | |
| 65 | s[ s.length ] = encodeURIComponent( key ) + "=" + |
| 66 | encodeURIComponent( value == null ? "" : value ); |
| 67 | }; |
| 68 | |
| 69 | if ( a == null ) { |
| 70 | return ""; |
no outgoing calls
no test coverage detected