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

250
Views
What are closures in Javascript?

A closure is when a function is able to remember and access a lexical scope, even when the function is executed outside the lexical scope.

over 4 years ago · Freddy Andrés Lemus Barrera
1 answers
Answer question

0

A closure is a function that stores references to the adjacent state (lexical scope). In other words, a closure allows access to the scope of an outer function from an inner function.

 function iniciar() { var nombre = "Mozilla"; // La variable nombre es una variable local creada por iniciar. function mostrarNombre() { // La función mostrarNombre es una función interna, una clausura. alert(nombre); // Usa una variable declarada en la función externa. } mostrarNombre(); } iniciar();
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!