(obj)
| 2564 | } |
| 2565 | |
| 2566 | function entries(obj) { |
| 2567 | const entries = []; |
| 2568 | if (obj) { |
| 2569 | for (const key in obj) { |
| 2570 | entries.push([key, obj[key]]); |
| 2571 | } |
| 2572 | } |
| 2573 | return entries; |
| 2574 | } |
| 2575 | |
| 2576 | function removePrefix(pattern, prefix) { |
| 2577 | if (pattern.startsWith(prefix)) { |