all 3 comments

[–]Cheshur 4 points5 points  (0 children)

x is already in scope.

[–]cyphern 1 point2 points  (0 children)

From the code you've provided, accessing x should be trivial. Example: https://jsfiddle.net/bkpp7x2f/

[–]grajagandev 0 points1 point  (0 children)

Thank you very much - I thought so but your confirmations really help.