MCQs > IT & Programming > JavaScript > How would you change the date to one week later assuming myDate is a date object?

JavaScript MCQs

How would you change the date to one week later assuming myDate is a date object?

Answer

Correct Answer: myDate.setDate(myDate.getDate()+7);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it