0
function increment() { let c = Number(out.innerText)*2 console.log("counter = "+c); out.innerText = c;}
Ref: JS Tutorial