Functions as Data

When saving the value of a function to a variable:

const isTwoPlusTwo = checkThatTwoPlusTwoEqualsFourAMillionTimes();

I noticed the function runs (because it prints out a console.log I added).
Is that supposed to happen?

Thanks