For Loop in JavaScript

 ------------------------------------------- index.html .............................................................................

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>This is tutorial </h1>
</body>
<script src="Script.js"></script>
</html>

------------------------------------------------------------------------------------------
-------------------------------------- Script.js. --------------------------------

console.log('tutorial for for loop ')

for(let i=0; i<60; i++)
{
console.log(i)

}

Comments

Popular posts from this blog

React Native FlatList

React Native class component