Answer:
Null
Step-by-step explanation:
It entirely depends on the language you are using to implement this.
But generally by the rule of scope, "result" will return null since get() was not defined to accept any argument, and it neither know the global "x" not defined it's own x in the function.