(index)
| 258 | } |
| 259 | |
| 260 | function hasAnswerAt(index) { |
| 261 | const selected = currentAnswers[index]; |
| 262 | if (selected && selected.size > 0) return true; |
| 263 | return !!String(currentOtherTexts[index] || '').trim(); |
| 264 | } |
| 265 | |
| 266 | function buildQuestionResponses() { |
| 267 | return currentQuestionItem.questions.map((_, index) => ({ |
no outgoing calls
no test coverage detected