let x = 'global";

// 関数定義
function hoge() {
	document.getElementById('let1').innerHTML = x;	// ‥‥(1)
}

// 関数定義
function foo() {
	let x = 'foo';
	// 関数実行
	hoge();
}

// 関数実行
foo();
(1) x =