(cache, key)
| 38405 | } |
| 38406 | |
| 38407 | function listCacheGet(cache, key) { |
| 38408 | for (var i = 0; i < cache.length; i++) { |
| 38409 | if (cache[i].key === key) { |
| 38410 | return cache[i].value; |
| 38411 | } |
| 38412 | } |
| 38413 | } |
| 38414 | |
| 38415 | function listCacheSet(cache, key, value) { |
| 38416 | cache.push({key: key, value: value}); |
no outgoing calls
no test coverage detected