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

194
Views
Error de JSLint: "Mueva la invocación a los paréntesis que contienen la función"

¿Qué significa JSLint con este error? ¿Y cómo debería reescribirse?

Error: Problem at line 78 character 3: Move the invocation into the parens that contain the function: })(jQuery);

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Para pasar los criterios de JSLint, debe escribirse así:

}(jQuery));

Aunque creo que ese criterio particular es un poco subjetivo. Ambas formas me parecen bien en mi opinión.

(function () {})() tiene un poco más de sentido para mí ya que envuelves la función completa y luego la llamas

(function () {}()) parece que está envolviendo el resultado de la llamada de función en un paréntesis...

over 4 years ago · Santiago Trujillo 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!