Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
Is there a way to import more than one module.js in one command?

I'm now working with import and export and my question about this topic is can I import multifiles?

Example:

Modul 1: main_modules.js - export const allMainModules
Modul 2: second_modules.js - export const allSecondModules
classes: classStorage.js

import 
{ 
  mainModules_func1, 
  mainModules_func2 secondModules_func1, 
  secondModules_func4 
} from "./*modules.js";*
import classStorage

Maybe there is a way to import and watch to all .js files which includes modules in their filename -> "" is working like "everyFile"_modules.js

Thanks for the answers ^^

I was searching on msdn, w3schools and stackoverflow. I have found a lot, but nothing about this specific question.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!