( key, valueOrFunction )
| 7841 | var prefix, |
| 7842 | s = [], |
| 7843 | add = function( key, valueOrFunction ) { |
| 7844 | |
| 7845 | // If value is a function, invoke it and use its return value |
| 7846 | var value = typeof valueOrFunction === "function" ? |
| 7847 | valueOrFunction() : |
| 7848 | valueOrFunction; |
| 7849 | |
| 7850 | s[ s.length ] = encodeURIComponent( key ) + "=" + |
| 7851 | encodeURIComponent( value == null ? "" : value ); |
| 7852 | }; |
| 7853 | |
| 7854 | if ( a == null ) { |
| 7855 | return ""; |
no outgoing calls
no test coverage detected