function f() { const a = 1; a++; return a; } console.log(f());