Create a function that logs the current year using the Date object.

Output: