Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
The getFullYear() Method
getFullYear() returns the year of a date: