Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

248
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda