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

172
Views
línea de código 26:43 dando sin sombra: sin sombra

así que escribí este fragmento de código para un proyecto, pero ahora mi ESLinter sigue dándome un error sin sombra: sin sombra en la línea 26:43 ¿alguna idea sobre cómo solucionar esto?

 const selectionButtons = document.querySelectorAll('[data-selection]'); const finalColumn = document.querySelector('[data-final-column]'); const computerScoreSpan = document.querySelector('[data-computer-score]'); const yourScoreSpan = document.querySelector('[data-your-score]'); const SELECTIONS = [ { name: 'rock', emoji: '✊', beats: 'scissors', }, { name: 'paper', emoji: '✋', beats: 'rock', }, { name: 'scissors', emoji: '✌', beats: 'paper', }, ]; selectionButtons.forEach(selectionButton => { selectionButton.addEventListener('click', e => { const selectionNames = selectionButton.dataset.selection; const selectionchoice = SELECTIONS.find(selection => selection.name === selectionNames); makeSelection(selectionchoice); }); });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Aquí se define una selection con nombre de variable:

 const selection = SELECTIONS

Y define otra variable llamada selection aquí:

 selection => selection....

Y este último ensombrece al primero.


Cambie el nombre de una de las variables.

about 4 years ago · Juan Pablo Isaza Report
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!