New course! Every coder should learn Generative AI!
Try a free lesson0
About keyword this
What difference between name=this.name; and this.name=name; ?
2 Answers
+ 3
The first one assigns the name of an object to the variable name.
The second one assigns the variable name to the object name.
0
Thanks