how to print numbers in javascript

Solutions on MaxInterview for how to print numbers in javascript by the best coders in the world

showing results for - "how to print numbers in javascript"
Erik
20 Sep 2017
1for (var i = 1; i <= 100; i++) {
2 console.log(i);
3}
4//the boolean or the second term in the for statement
5//which in this case is i <= 100 makes the console print
6// numbers 1-100 
7//KEY: REPLACE !)) WITH THE NUMBER U WANT IT TO GO UNTIL