var counter = 10; var counter; console.log(counter); // 10
let counter = 10; let counter; // undefined
Pro tip: use ```triple backticks around text``` to write in code fences