- 2

(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age;

(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age;

2nd Dec 2021, 3:02 PM
Joktan Audu
3 Réponses
+ 1
There is lack of information to help you, give us more details, what language you are using, what is your problem and what is your intension.
2nd Dec 2021, 3:12 PM
cadbrooke
cadbrooke - avatar
0
function test(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age; return response; } test("mike", 1876, 1928)
30th Apr 2023, 7:20 PM
jumur raj
jumur raj - avatar
0
function test(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age; return response; } test("mike", 1876, 1928)
30th Apr 2023, 7:20 PM
jumur raj
jumur raj - avatar