search

Home  >  Q&A  >  body text

Can anyone please help me write down how to use alert() to print out the effect of 0 1 2 3?

function sss(){
 		var s=0,
 		for (var i=0;i<3;i++) {
 			s++
 		}
 		alert(s);
 	}

Can anyone please help me write down how to use alert() to print out the effect of 0 1 2 3

奇遇奇遇2164 days ago1135

reply all(1)I'll reply

  • ****

    ****2018-12-22 14:40:59

    Alert is placed in front of s++

    reply
    0
  • Cancelreply