(name)
| 5 | }; |
| 6 | |
| 7 | function incrementSecurityCounter(name) { |
| 8 | if (!Object.prototype.hasOwnProperty.call(counters, name)) { |
| 9 | counters[name] = 0; |
| 10 | } |
| 11 | |
| 12 | counters[name] += 1; |
| 13 | } |
| 14 | |
| 15 | function getSecurityCounters() { |
| 16 | return { ...counters }; |
no outgoing calls
no test coverage detected