Anyone know why this doesn't work?

take a look at this :

const howOld = (age , year) => {

if (year > 2019) {
return You will be ${age + year - 2019} in the year ${year} }
else if (year < 2019 && age >= 2019 - year) {
return You were ${age + year - 2019} in the year ${year}
}
else if (year < 2019 && age < 2019 - year) {
return The year ${year} was ${2019 - age - year} years before you were born
}
}

console.log(howOld(44 , 3321))


and now take a look at this :

const howOld = (age , year) => {

if (year > 2019) { return
You will be ${age + year - 2019} in the year ${year} }
else if (year < 2019 && age >= 2019 - year) {
return You were ${age + year - 2019} in the year ${year}
}
else if (year < 2019 && age < 2019 - year) {
return The year ${year} was ${2019 - age - year} years before you were born
}
}

console.log(howOld(44 , 3321))


the first one prints what we want,
but the second one prints : undefined

I couldn’t realize what’s wrong with my code at first because I didn’t know the ‘difference’ would make such a change.
anyone who figures it out gets a cookie.