Created
May 28, 2015 23:39
-
-
Save anotherjung/30631bba7dec4ec2dd8a to your computer and use it in GitHub Desktop.
Basic Algorithms #1 (Print 1-255) Write a program that would print all the numbers from 1 to 255. // source http://jsbin.com/filuye
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="(Print 1-255) Write a program that would print all the numbers from 1 to 255."> | |
<meta charset="utf-8"> | |
<title>Basic Algorithms #1</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
for (var i=0; i<256; i++) | |
{ | |
console.log(i); | |
} | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">for (var i=0; i<256; i++) | |
{ | |
console.log(i); | |
} | |
</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i=0; i<256; i++) | |
{ | |
console.log(i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment