Variabel x di dalam function adalah:

Variabel x di luar function adalah: 5