( key, value )
| 1169 | var keys = []; |
| 1170 | |
| 1171 | function cache( key, value ) { |
| 1172 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 1173 | if ( keys.push( key += " " ) > Expr.cacheLength ) { |
| 1174 | // Only keep the most recent entries |
| 1175 | delete cache[ keys.shift() ]; |
| 1176 | } |
| 1177 | return (cache[ key ] = value); |
| 1178 | } |
| 1179 | return cache; |
| 1180 | } |
| 1181 |
nothing calls this directly
no outgoing calls
no test coverage detected