Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
Aprendiendo a usar Javascript 'buscar'

Estoy tratando de comenzar de manera simple y simplemente buscar una página dentro de una función de una extensión de Chrome. Creo que tengo la extensión correcta ya que ejecuta mi código. Mi problema es que estoy recibiendo el error:

ReferenceError: la respuesta no está definida

Aquí está mi código:

 function requests(url) { fetch(url,{mode: "no-cors"}) .then(response => { if (!response.ok) { throw new Error(`Request failed with status ${reponse.status}`) } return response.json() }) .then(data => { console.log(data.count) console.log(data.products) }) .catch(error => console.log(error)) }

¿Alguien puede ayudarme a empezar con esto? TIA.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!