Skip to content

How to get the node in an exit handler, after the change that this.exit does no longer return it. #1344

Answered by reckter
reckter asked this question in Q&A
Discussion options

You must be logged in to vote

Ahh, I've use this.stack[0], but it needs to be this.stack[this.stack.length -1].
I was confused why I got the root node.

Thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@reckter
Comment options

Answer selected by reckter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants