cara mencetak di baris yang sama di javascript
var result = '';
for(var i = 1; i < 11; i += 1) {
result = result + i;
}
console.log(result)
Frail Ferret
var result = '';
for(var i = 1; i < 11; i += 1) {
result = result + i;
}
console.log(result)