showing results for - "how to print in a same line in javascript"
Alana
05 Sep 2018
1var result  = '';
2for(var i = 1; i < 11; i += 1) {
3  result = result + i;
4}
5console.log(result)