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

166
Vistas
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 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