// Variable declared globally
const color = 'blue';
function printColor() {
  console.log(color);
}
printColor(); // => blue
Comments