Javascript for Statement Question 8

Introduction

Print 1 - 255

Print all the integers from 1 to 255

function print255() {
  //your code
}
print255();



function print255() {
  for (var i = 1; i <= 255; i++) {
    console.log(i);
  }
}
print255();



PreviousNext

Related