How to open and close a new browser window using JavaScript?
Originally posted here!
Open a window
To open a new window using JavaScript, you can use the open() method in the global window object.
// open a new window
// with google.com as the url
window.open("https://google.com");
The window.open() method a...
melvingeorge-me.hashnode.dev3 min read