What is the correct JavaScript syntax for opening a new window called "w2" ?

JavaScript
NA = window.open("http://www.google.com");  
Source

Also in JavaScript: