You are on page 1of 1

Coding Exercise – Find Age

 Write a JavaScript program to find your age. Create a function calculateAge that will take
two argumnets birthYear, currentYear and then perform the required block of code to
find your age and finally display your age using document.write.

Check for solution

You might also like