( key, value )
| 879 | var keys = []; |
| 880 | |
| 881 | function cache( key, value ) { |
| 882 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 883 | if ( keys.push( key + " " ) > Expr.cacheLength ) { |
| 884 | // Only keep the most recent entries |
| 885 | delete cache[ keys.shift() ]; |
| 886 | } |
| 887 | return (cache[ key + " " ] = value); |
| 888 | } |
| 889 | return cache; |
| 890 | } |
| 891 |
nothing calls this directly
no outgoing calls
no test coverage detected