Which Language? · #61 · 2026-06-04
Which language is this?
Difficulty 2/3
How to play
Read the code snippet and pick which of the four listed languages it’s written in. The snippet is deliberately unhighlighted — the syntax is the only clue. Press 1–4 or click to answer.
function first<T>(arr: T[]): T | undefined {
return arr[0];
}
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub