1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Page creating ten popups</title> </head> <body> <script type="text/javascript"> for (let i = 0; i < 10; i++) { window.open("https://example.com"); } </script> </body> </html>