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

163
Visualizações
Pdf.worker.min.js I am trying to use this library in my chrome extension but I have a error inside the library file

i use this library in my chrome extension to work with pdf files and while migrating my extension from manifest v2 to v3 I ran in to some problems the in the pdf.worker.min.js a certain block of code has been problematic when i removed it everything seems to work fine but i am not sure if it is the right move to remove it the code is in the createDocumentHandler function what i did is i commented the condition as you can see in the code snippet bellow here is the block of code : is anyone has an explanation why this error happened ? and what can i change to fix it


    for (const property in []) {
      enumerableProperties.push(property);
    }

    // if (enumerableProperties.length) {
    //   throw new Error("The `Array.prototype` contains unexpected enumerable properties: " + enumerableProperties.join(", ") + "; thus breaking e.g. `for...in` iteration of `Array`s.");
    // }```
about 4 years ago · Juan Pablo Isaza
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