Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

271
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda