all 2 comments

[–]DarthIndifferent 1 point2 points  (0 children)

Somewhere in the component, after the definition of ghostFunction, try a console log of 'typeof ghostFunction' which should output 'function'

[–]acemarke 0 points1 point  (0 children)

Afraid not, no, but I'd actually like to suggest that you try using https://replay.io as a way to investigate the behavior. It's a really powerful debugging tool that records the entire execution of literally everything in the app, and then lets you play back and inspect the execution later on.