How the domain is changing throughout different functions - kizildeniz Academy