3.6K
How to open in new tab or window using Javascript
To Use the window.open method with _blank parameter to open the browser in new tab or window.
Example:
window.open(
'https://theblogreaders.com/',
'_blank' // <- This _blank is used to open as new tab or window
);