JavaScript Open URL in New Tab -
The “window.open()” function is used to open the URL tab in
JavaScript.
Example-
window.open('http://code-sample.com/','_blank');
I hope you are enjoying with this post!
Please share with you friends!! Thank you!!!