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