(key, value)
| 865 | var keys = []; |
| 866 | |
| 867 | function cache(key, value) { |
| 868 | // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) |
| 869 | if (keys.push(key + " ") > Expr.cacheLength) { |
| 870 | // Only keep the most recent entries |
| 871 | delete cache[keys.shift()]; |
| 872 | } |
| 873 | return (cache[key + " "] = value); |
| 874 | } |
| 875 | return cache; |
| 876 | } |
| 877 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…