Last active
May 4, 2020 14:39
-
-
Save jmas/8cbc4622bd6e48483c05215ef522ec20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button> | |
Click | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector('button').onclick = () => { | |
var win1 = window.open('http://google.com', '_blank'); | |
var win2 = window.open('http://google.com', '_blank'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment