(node)
| 37 | } |
| 38 | |
| 39 | function getPropertyName(node) { |
| 40 | if (!node) return undefined; |
| 41 | if (node.computed) { |
| 42 | return node.property.type === 'Literal' ? node.property.value : undefined; |
| 43 | } |
| 44 | return node.property.name; |
| 45 | } |
| 46 | |
| 47 | function getIdentifierArgument(node) { |
| 48 | const arg = node.arguments[0]; |
no outgoing calls
no test coverage detected