mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Ashcon Partovi <ashcon@partovi.net> Co-authored-by: Electroid <Electroid@users.noreply.github.com> Co-authored-by: Meghan Denny <meghan@bun.sh> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
8 lines
235 B
TypeScript
8 lines
235 B
TypeScript
function getOldestPersonInBooking(ages: number[]): number {
|
|
console.log("ok");
|
|
throw new Error("TODO! Perhaps we can use Math.max() for this?");
|
|
}
|
|
|
|
const ticketAges = [5, 25, 30];
|
|
console.log(getOldestPersonInBooking(ticketAges));
|