Skip to content

Instantly share code, notes, and snippets.

@anotherjung
Created May 29, 2015 19:39
Show Gist options
  • Save anotherjung/9213b9578d1cc6c73290 to your computer and use it in GitHub Desktop.
Save anotherjung/9213b9578d1cc6c73290 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
<!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>
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