What will be the output of the following code?
const date = new Date('2022-01-01'); console.log(date.getFullYear());
2022
2021
2023
2020