r/learnjavascript • • Dec 18 '22

Cannot understand "this" keyword

My head is going to explode because of this. I watched several videos, read articles from MDN, W3schools, and TOP, and I still can't understand.

There's so many values and scenarios around it and I feel like they're explained so vaguely! I struggle to get familiar with it. Can someone drop their own explanation?

90 Upvotes

58 comments sorted by

View all comments

Show parent comment

0

u/tridd3r Dec 19 '22 edited Dec 20 '22

mdn is complied by multiple people going through multiple stages of reviews. professors can and do make mistakes, and those mistakes get picked up through review of their material.

Are you offended that you're incomplete, or that I called you out on it? The AI is also INCREDIBLY inaccurate and prone to literally make stuff up...

To suggest that a single piece of documentation is the only method to educate someone

I'm not suggesting its the only method to educate someone, I'm suggesting its the most complete and accurate source of information. I use multiple sources because sometimes I don't quite understand the mdn examples, but you can sure as shit bet that I'm going to go back to mdn or the actual docs to confirm what I've learnt is correct and not some AI trolling the world.

What I said isn't theory, its straight up fact. Maybe you should practice what you preach, but then again, if you need ai to explain topics for you, its not really you giving the advice, so maybe just stop copy pasting from ai so you don't look like the fool.

0

u/thirtydelta Dec 20 '22

You literally wrote that a persons interpretation was unsatisfactory, while participating in a subreddit that literally solicits a persons interpretation. You tried to sound smart, but ended up sounding really dumb. Now you’re doubling down and trying to justify it, while telling me that I’m “incomplete” which doesn’t even make sense. The rest of your comment is weird blabbering where you fabricate a bunch of things I never wrote or implied. You seem angry, and I’m sorry if I upset you. I have no further desire to argue about such nonsense. Please have some respect for people and stop giving advice.

0

u/tridd3r Dec 20 '22

You're not arguing, you're trying to salvage your poor post. Its evidently not working. So I don't blame you for giving up something you shouldn't have even started.