Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start.onclick = function(){
- if(state==0){
- state=1;
- timer();
- }if(state==1){
- state=0;
- clearTimeout(t);
- }
- start.onclick = function(){
- if(state==0){
- timer();
- }if(state==1){
- state=0;
- clearTimeout(t);
- }
- state=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement