(node)
| 442 | } |
| 443 | |
| 444 | function getPropertyKey(node) { |
| 445 | if (node?.type === "Identifier") return node.name; |
| 446 | if (node?.type === "Literal") return node.value; |
| 447 | throw new Error("Unsupported property key"); |
| 448 | } |
| 449 | |
| 450 | function evaluateUnaryExpression(node, scope) { |
| 451 | const value = evaluateNode(node.argument, scope); |
no outgoing calls
no test coverage detected