Which of the following are static methods in JavaScript?

Which of the following are static methods in JavaScript? Correct Answer Both Date.parse() and Date.UTC()

Date objects are created with the new Date() constructor. 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.

Related Questions

Which is the function in JavaScript that will print the current page in JavaScript?
In which of the following circumstance should you use a static reference to a non static method?
Which of the following is not considered as an error in JavaScript?