I have a function which returns the last day of a month. The function is like this: In Javascript Editor , it works like the above picture. But in VS2008, it's strange. I am very strange for this, then I Bing , http://www.w3schools.com/jsref/jsref_parseInt...