var age = GetAge(dateOfBirth);
//the above calls the function GetAge passing parameter dateOfBirth.