What does this program print?

from Generics
TypeScript 6 beginner 2 min

What does this program print?

TypeScript
function firstMatch<T>(
  items: readonly T[],
  accepts: (item: T) => boolean,
): T | undefined {
  return items.find(accepts);
}

const result = firstMatch([3, 8, 13], (value) => value > 5);
console.log(result);
Open in playground
Report an error