Which of these statements create an instance of the Date
object?
Yes! We use the new
keyword, the Date
object and an optional value in the parentheses that follow Date
to create an instance of it.
Yikes! We use the new
keyword, the Date
object and an optional value in the parentheses that follow Date
to create an instance of it.