(array: ArrayLiteralExpression, index: number, stack: Node[], ctx: BoxContext)
| 1046 | } |
| 1047 | |
| 1048 | const getArrayElementValueAtIndex = (array: ArrayLiteralExpression, index: number, stack: Node[], ctx: BoxContext) => { |
| 1049 | const element = array.getElements()[index] |
| 1050 | if (!element) return |
| 1051 | |
| 1052 | const value = maybeBoxNode(element, stack, ctx) |
| 1053 | |
| 1054 | if (isNotNullish(value)) { |
| 1055 | return value |
| 1056 | } |
| 1057 | } |
| 1058 | |
| 1059 | const getPropertyAccessedExpressionValue = ( |
| 1060 | expression: PropertyAccessExpression, |
no test coverage detected