Dynamic multiple import in JavaScript

You can dynamically import multiple modules at once:

src/index.jsbtn.addEventListener('click', function() {
  Promise.all([
    import('./module1.js'),
    import('./module2.js'),
    import('./module3.js'),
  ])
  .then(([module1, module2, module3]) => {
    
  });
});
Задание 1

Create a module with an array of the week days names and a module with the months names.

Задание 2

By clicking on a button, import these modules. Print the names of days and months as ul lists.