Correct Answer: var d = new Date();<br>newDate=new Date(d.getFullYear(), 1, 1);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
Name the different primitive data types of JavaScript ?
Which is not a valid JavaScript operator?
Which javascript method can be used to create or modify the attribute properties
While working with JavaScript Page Redirection, which is an invalid method of the window.location object?
In relation to object oriented JavaScript, which are the correct attributes of the object properties?
Which option is used to access the attributes in E4X?
An HTML form contains 10 checkboxes all named 'chkItems'. Which JavaScript function can be used for checking all the checkboxes together?
Why does Google prepend while(1); to their JSON responses?
Which can be used for disabling the right click event in Internet Explorer?
Which uses the 'with' statement in JavaScript correctly?