Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
var countOnetoTen = function() {
   console.log("countOnetoTen started");
    for (counter = 1; counter <= 10; counter += 1) {
        console.log(counter);
    }
};
countOnetoTen();  //=> 1 2 3 4 5 6 7 8 9 10
var countEleventtoTwenty = function() {
   console.log("countEleventtoTwenty started");
    for (counter = 1; counter <= 10; counter += 1) {
        console.log(counter+10);
    }
};
countEleventtoTwenty(); //=> 11 12 13 14 15 16 17 18 19 20
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
zaheerahmedpro
0viewers