Question 1 of 5
Which code follows better style conventions?
function calc(x,y){return x+y;}
function calculateSum(x: number, y: number): number { return x + y; }
0
Correct
Answered