Skip to content
Quiz · Functions · lesson 2 of 10

Quiz — calling a function

What does tsc report for this program?

TypeScript
function area(w: number, h: number) {
    return w * h;
}
console.log(area(3));