Quiz · Functions · lesson 2 of 10
Quiz — calling a function
What does tsc report for this program?
function area(w: number, h: number) {
return w * h;
}
console.log(area(3));What does tsc report for this program?
function area(w: number, h: number) {
return w * h;
}
console.log(area(3));