function test(name, birth_year, current_year) { const age = current_year-birth_year; const response = name + " is " + age return response; test("jane", 1 937, 2010)
Answers
Answered by
4
Input :-
function test(name, birth_year, current_year) {
const age = current_year-birth_year;
const response = name + " is " + age
return response;
};
test("jane", 1 937, 2010);
Output :-
null or nothing because we haven't used console.log() to print the output in the console panel.
Similar questions