r/learnjavascript • u/OrangeObvious8498 • Feb 17 '26
this keyword learning
this keyword in javascript is very confusing especially during interviews. Everytime, its very confusing to understand and easily to forget.
What would be the best resource to learn this?
4
Upvotes
View all comments
Show parent comment
2
u/samanime Feb 17 '26 edited Feb 18 '26
Pretty sure they meant don't use AI to generate your code...
Edit: Actually, rereading their post, not so sure if this is what they meant or not.
Definitely don't use AI to generate your code when learning. That'd be like trying to learn to bake a cake by buying a cake at the grocery store...
As for AI as a search engine, I see little risk. It can hallucinate, especially with more complex questions, so it isn't a bad idea to also back it up with regular searches, but it does seem to get more right than wrong nowadays (at least Gemini).
(Said as a dev with 25+ years experience.)