( key, value )
| 852 | var keys = []; |
| 853 | |
| 854 | function cache( key, value ) { |
| 855 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 856 | if ( keys.push( key + " " ) > Expr.cacheLength ) { |
| 857 | // Only keep the most recent entries |
| 858 | delete cache[ keys.shift() ]; |
| 859 | } |
| 860 | return (cache[ key + " " ] = value); |
| 861 | } |
| 862 | return cache; |
| 863 | } |
| 864 |
nothing calls this directly
no outgoing calls
no test coverage detected