JavaScript: Exemplo de uso do for

From AdonaiMedrado.Pro.Br
Revision as of 22:26, 12 September 2008 by Adonaimedrado (Talk | contribs)

Jump to: navigation, search
<html>
	<head>
		<title></title>
    		<style></style>
	</head>
	<body>
	<script>
		var i;
		for (i=0;i<10;i++)
			alert("Eu sou a caixa chata " + (i + 1));
	</script>
	</body>
</html>