+ 1
What is this key word in js?
Please explain in simple language
4 Réponses
+ 3
I have not learnt JavaScript before but this article I think will help
"JavaScript this" https://www.w3schools.com/js/js_this.asp
Happy coding😉
+ 2
"this" refers to the current object and that's it :)
+ 1
all that you want to know about 'this' keyword should be here:
https://web.dev/javascript-this/
0
If you use python, it's like "self" in python (or the equivalent name that you use as the first parameter of __init__)