Could you give some explanation on how is if (checkAge(age)) is a condition?
A simple age checking function:
function checkAge(age) {