Code Questions: what is the return value of the function in the description below 👇This is a javascript function. 👍 | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Code Questions: what is the return value of the function in the description below 👇This is a javascript function. 👍

function test(name, birth_year, current_year) { const age = current_year - birth_year; const response = name + " is " + age; return response test("mike", 1861, 1900)

22nd Feb 2023, 8:41 AM
FlexGod
FlexGod - avatar
2 Respuestas
+ 1
Function return value: "Miku 39".
22nd Feb 2023, 8:50 AM
Last
Last - avatar
0
Thanks
22nd Feb 2023, 8:57 AM
FlexGod
FlexGod - avatar