Turn on multiple window in a single click in JavaScript

First, you need to turn on the pop-up block on that site in your browser.

<button onclick="openWindow()">
  Open Multiple Window
// function that open the new Window
function openWindow() {

you can modify yourself. You can use for loop to open multiple window.