Question
a.
setYear()
b.
setFullYear()
c.
fullYear()
d.
set_full _year()
Posted under UGC NET computer science question paper Web Technologies
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which data method would you use to set a 4 – digit year?
Similar Questions
Discover Related MCQs
Q. Which of the following is true if A and B are not equal?
View solution
Q. Which of the following triggers an event automatically at regular intervals?
View solution
Q. What value is returned by get month() for the month of April?
View solution
Q. The first control statement in a far loop usually
View solution
Q. What does the + + operator do?
View solution
Q. A for loop contains
View solution
Q. If a browser has java script turned off, it will
View solution
Q. What does “_” do?
View solution
Q. Which of the following java script statements are correct definitions of an array?
View solution
Q. Which of the following do java script lines end with?
View solution
Q. Which of the following returns the first characters of the string str?
View solution
Q. Which method is used to search for a sub string?
View solution
Q. What is the full form of DOM?
View solution
Q. Which of the following refers to the <html> element in an HTML document?
View solution
Q. Which of the following objects is the root object in HTML DOM object hierarchy?
View solution
Q. Which of the following is not a property of the window object?
View solution
Q. Which of the following is not a method of the window object?
View solution
Q. What does the confirm() method of the window object return?
View solution
Q. Which of the following methods executes a certain piece of code after a periodic interval?
View solution
Q. Which of the following is not a property of the location object?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Web Technologies? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!