🎴 Flashcard Mode

Web Technology

Card1 / 15
Mastered0
Review0
QuestionClick to flip

Which of the following is a valid date function?

AnswerClick to flip back
A
getFullYear()
💡 Explanation:

This option is correct as it returns the year of the Date object(four digits).

Change Mode