Javascript 'this' keyword question

I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

No, it doesn’t. There’s something else going on here, but it’s not possible to know what from the little bit of code you’ve written here. You can embed runnable code examples in the forum now, so put up your working example that demonstrates spooky linked-list action and we’ll figure out what’s actually happening.

Also, what does your question have to do with the this keyword?

1 Like