over 9 years ago
What happens if we set the minutes value to -80?
Here is the example for setting a minutes in negative.
In dt.setMinutes(-80); it has a negative value.
Gives the outuput (Wed Nov 18 2015 10:40:14 GMT+0530) for negative value:-
Can you help out the community by solving one of the following Javascript problems?
Do activity (Answer, Blog) > Earn Rep Points > Improve Rank > Get more opportunities to work and get paid!
For more topics, questions and answers, please visit the Tech Q&A page.
0 Comment(s)