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

277
Views
Code transpiled to javascript in dist folder of npm module - how to understand ()() syntax

I am seeing code like:

(0, _classCallCheck3.default)(this, BaseCommand);

I'm guessing after the original source was ran through babel and stuff like that? What is this ()() construct? I understand the second parentheses as arguments for a function invocation, which makes (0, _classCallCheck3.default) I guess a function?

I've never seen this syntax before - what does it mean? What is the first bracket doing in raw javascript and how does the javascript interpreter know what to do with it?!!

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!