( key, valueOrFunction )
| 6251 | var prefix, |
| 6252 | s = [], |
| 6253 | add = function( key, valueOrFunction ) { |
| 6254 | |
| 6255 | // If value is a function, invoke it and use its return value |
| 6256 | var value = typeof valueOrFunction === "function" ? |
| 6257 | valueOrFunction() : |
| 6258 | valueOrFunction; |
| 6259 | |
| 6260 | s[ s.length ] = encodeURIComponent( key ) + "=" + |
| 6261 | encodeURIComponent( value == null ? "" : value ); |
| 6262 | }; |
| 6263 | |
| 6264 | if ( a == null ) { |
| 6265 | return ""; |
no outgoing calls
no test coverage detected