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

189
Visualizações
`String.prototype.at` is not implemented in all browsers. Is there a @babel/plugin that will transform this down to ES5 javascript?

At the time of this question String.prototype.at is not implemented in all browsers.

I would like to use the at function on the String prototype within a React app that uses babel to transform modern ecmascript into older more browser compatible versions of javascript.

I have been unsuccessful in finding a babel plugin that would do this for me.

Is there a @babel/plugin that will transform the String prototype at function down to more browser compatible ES5 javascript?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Babel is for syntax-level transformations, not browser API polyfills.

You can consider using a polyfill service like Polyfill.io, or alternatively, simply use the polyfill code from the relevant proposal.

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