Blog

In JavaScript Print all the numbers from 1 to 255
Posted on June 2, 2015 in Algorithms, JavaScript by Matt Jennings

for(var i = 1; i < 256; i++) {
  console.log(i);
}

 

Leave a Reply