Skip to content
Intern–Senior167 views

Implementation of age determination function via Function Declaration

Task condition

Create a function calculateAge() that takes a birth date as a parameter and returns the current age. The function should be declared using Function Declaration syntax.

Frontend tasks in the code trainer