Edit in JSFiddle

var x = 5;
var y = 2;

document.write(x); // Hasil => `5`
document.write('<br>');
document.write(x + y); // Hasil => `7`