( key, value )
| 889 | var keys = []; |
| 890 | |
| 891 | function cache( key, value ) { |
| 892 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 893 | if ( keys.push( key + " " ) > Expr.cacheLength ) { |
| 894 | // Only keep the most recent entries |
| 895 | delete cache[ keys.shift() ]; |
| 896 | } |
| 897 | return (cache[ key + " " ] = value); |
| 898 | } |
| 899 | return cache; |
| 900 | } |
| 901 |
nothing calls this directly
no outgoing calls
no test coverage detected