Windows 8.1, Chrome Version 35
Take the following code
var dt1 = Date.today();
alert(dt1.toString("MM/dd/yyyy"));
var dt2 = dt1.next().sunday();
alert(dt1.toString("MM/dd/yyyy"));
The first alert displays today's date. The second alert now displays this
Sunday's date. dt1's value is being reassigned which is not expected.
Original issue reported on code.google.com by m3mac...@gmail.com on 22 Jun 2014 at 3:17
Original issue reported on code.google.com by
m3mac...@gmail.com
on 22 Jun 2014 at 3:17