how to make numbers turn javascript code example
Example 1: how to print numbers in javascript
for (var i = 1; i <= 100; i++) {
console.log(i);
}
//the boolean or the second term in the for statement
//which in this case is i <= 100 makes the console print
// numbers 1-100
//KEY: REPLACE !)) WITH THE NUMBER U WANT IT TO GO UNTIL
Example 2: javascript number length
var num = 1234
number.toString().length; // 4