JSFiddle - React, Tailwind, and code Playground

by mathiasfcx

HTML

<button id="links">Abrir</button>

JavaScript

var arr = ["http://www.google.com", "https://www.stackoverflow.com/"];

$("#links").click(function() {
  arr.forEach(function(e) {
    window.open(e, e, 'width=500,height=500');
  });

});