1
I’m recently studying javascript and I’m a little in doubt regarding the "this" in javascript, I saw that it can be using either in a global object or in a function but still can’t understand the real function of it, if you can help me.
Att.
1
I’m recently studying javascript and I’m a little in doubt regarding the "this" in javascript, I saw that it can be using either in a global object or in a function but still can’t understand the real function of it, if you can help me.
Att.
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
@Diegof seems duplicate of this question that you linked however itself is marked as duplicate and the two references that should have the answer there do not seem to answer exactly the question about
this
since one is about Java and not Javascript (wtf?) and the other talks about "$(this) vs $this vs this?".– BrunoRB
@Brunorb doesn’t have a problem. They’re all linked together if you look around, which is exactly why I put down the one that’s already duplicated. And if you read the answer to the second question, you’ll see that it answers this.
– user28595