New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to use the "this" keyword.
Can someone please, please, please, in layman terms, explain why we use the "this" keyword? There's literally no explanation for it online that makes sense.
5 Answers
+ 2
Sachin kumar then why use it? It's just an alternative to the normal one, right?
+ 1
Sachin kumar same thing as using "document.getElementById"?
0
You can get html elements id by using this keyword
0
SolomonDavid Akesoba yes ,