- 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;
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.
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)
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)