Found this in some third party JavaScript I had to incorporate into a site.

var today = new Date();
today.setTime(today.getTime());

The two lines are exactly as written, one after the other within the same function. Can anyone tell me a situation in which the second line is not completely redundent?

Very True Mood: (confused) confused
Very True Music: XTc vs. Adama Ant - They Might Be Giants

No Comments

Leave a Comment


(will not be published unless you do something very annoying)