Quantcast
Viewing latest article 26
Browse Latest Browse All 55

What does comparing `self` to `top` do in JavaScript?

if (self != top) {  window.open(self.location,'_top');}

What does self != top and window.open(self.location, '_top'); mean respectively?


Viewing latest article 26
Browse Latest Browse All 55

Trending Articles