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

236
Vistas
How to find out which ECMAScript-Stanadard mongodb versions support

We are currently developing some mapReduce scripts to run inside mongo using typescript. We are aware that mongodb does not support every es2020 feature and we are due to some restrictions not able to just compile down to es6 or something like that. We need to write typescriptcode that is not getting compiled down (target es6) but matches mongodb's ES-Featureset.

We tried to find documentation on which ECMAScript-Minimum mongodb guarantees but the docs just seems to ignore this topic or at least it is not that important to them.

Has anyone found continously updated documentation about this topic?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There isn't a statement from MongoDB, Inc. on this. However, you can make a determination for yourself by looking at the source:

https://github.com/mongodb/mongo/tree/master/src/third_party/mozjs-60

Mongo uses SpiderMonkey, the JS runtime from Mozilla (used in Firefox). You can find some peripheral information about this at the following links:

  • https://docs.mongodb.com/manual/release-notes/3.2-javascript/

  • https://engineering.mongodb.com/post/code-generating-away-the-boilerplate-in-our-migration-back-to-spidermonkey

Once you determine which version of SpiderMonkey is being used in the mongo build you are using, you can figure out from there which ES features are supported by it.

about 4 years ago · Juan Pablo Isaza Denunciar
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