function firstLabel(labels: string[]): string { return labels[0].toUpperCase(); } console.log(firstLabel([]));