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
  • 5,090
  • 3
  • 24
  • 27

1 Answers1

5

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

Arun P Johny
  • 384,651
  • 66
  • 527
  • 531