Hi guys is there any way in javascript that i can get the current full year and the next 5 years in the futue?
example:
new Date().getFullYear() and 'next 5 years in the future'
output:
[
'2021',
'2022',
'2023',
'2024',
'2025',
'2023'
]
Is there any way to do that? Appreciate the help guys :)