(obj)
| 29 | } |
| 30 | |
| 31 | function map2(obj) { |
| 32 | const map = new Map(); |
| 33 | if (!obj) { |
| 34 | return map; |
| 35 | } |
| 36 | |
| 37 | for (const key in obj) { |
| 38 | map.set(key, obj[key]); |
| 39 | } |
| 40 | return map; |
| 41 | } |
| 42 | |
| 43 | function Store() {} |
| 44 | Store.prototype = Object.create(null); |
no outgoing calls
no test coverage detected
searching dependent graphs…