A

Admin • 828.03K Points
Coach

Q. Which of the following are static methods in JavaScript?

  • (A) Date.parse()
  • (B) Date.UTC()
  • (C) Both Date.parse() and Date.UTC()
  • (D) None of the mentioned
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Date.parse() parses a string representation of a date and time and returns the internal millisecond representation of that date. Date.UTC() Returns the millisecond representation of the specified UTC date and time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.