JavaScript: How self is it used? [duplicate]

0
    

This question already has an answer here:

    

What is the specialty of self , a global property that refers to the global object itself?

console.log(self === this, this.self === this,
    window.self === this, self.self === this);
    
asked by anonymous 11.01.2017 / 14:48

1 answer

1

According to MDN, the notation 'self' alone is useful when working with web workers. I know my answer is not well detailed, but I think this link will put you on the right track.

link

ps: I was just going to comment, but I still do not have enough reputation.

    
11.01.2017 / 16:24