( key, value )
| 913 | var keys = []; |
| 914 | |
| 915 | function cache( key, value ) { |
| 916 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 917 | if ( keys.push( key + " " ) > Expr.cacheLength ) { |
| 918 | // Only keep the most recent entries |
| 919 | delete cache[ keys.shift() ]; |
| 920 | } |
| 921 | return (cache[ key + " " ] = value); |
| 922 | } |
| 923 | return cache; |
| 924 | } |
| 925 |
nothing calls this directly
no outgoing calls
no test coverage detected