Variabel x di dalam function adalah: 5

Variabel x di luar function adalah: