heard[] = $detail['n'] ?? null; } }; ?>

heard: {{ implode(',', $heard) }}