Created by Jayro Salgado
almost 9 years ago
|
||
Question | Answer |
closure | Son funciones que manejan variables independientes. En otras palabras, la función definida en el closure "recuerda" el entorno en el que se ha creado. |
Define JavaScript | Lenguage interpretado, orientado a objetos con funciones de primera clase. Es un lenguaje script multi-paradigma, basado en prototipos, dinámico, soporta estilos de programación funcional, orientada a objetos e imperativa. |
Hoisting | Variable declarations are processed before any code is executed, declaring a variable anywhere in the code is equivalent to declaring it at the top. This also means that a variable can appear to be used before it's declared. As it appears that the variable declaration is moved to the top of the function or global code. |
Promises | Is a delegate for an asynchronous action that collects references to callbacks, mantains state, and provides a mechanism for chaining. |
when to use a Q.deferred | use it when you are handling a async function with no promise chain |
Want to create your own Flashcards for free with GoConqr? Learn more.