3
var popup = window.open('http://twitter.com');
popup;
if ($.browser.safari && !popup) {
alert('Please allow for popups on your browser.');
}

I came across the above code today, what (if any) is the reason for the second line "popup;" ?

mikey
  • 4,968
  • 3
  • 22
  • 27

1 Answers1

5

The second line does not do anything, you can safely remove it

Arun P Johny
  • 376,738
  • 64
  • 519
  • 520