Jump to content

ERROR found in W3SCHOOLS || fix it ASAP


nath.bplb

Recommended Posts

Go to http://www.w3schools.com/jsref/tryit.asp?f...tetime_millisec and check the function checkTimeMsec(i)Hope you can see the condition of if statement there !Now, Suppose the millisecond of current time is 10...then the condition i<100 && i>10 will generate the millisecond part as 10, while it should be 010.So rectify that conditon this way

if(i<100 && i>9)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...