Q. Which method is used to get the year of a date as a four-digit number?
β
Correct Answer: (C)
getFullYear()
You must be Logged in to update hint/solution