Download for Windows Premium
Publicidade
anonymous function
/ə'nɒn.ɪ.məs 'fʌŋk.ʃən/
Definição
function defined without a name, often passed as an argument  ... Ver mais
funcție anonimă
funcție fără nume
functia anonima
functie anonima
What actually happens is that the first function is executed and returns an anonymous function that can still access the environment in which it was created.
Ce se intampla de fapt este ca prima functie se executa si intoarce o functie anonima care inca mai poate accesa mediul in care a fost creata.
For example when you declare an anonymous function inside of the body of another function, in AS3 all the variables defined in the outer function are available inside of the nested function.
De exemplu, atunci când declaraţi o funcţie anonimă în interiorul corpului unei alte funcţii în AS3 toate variabilele definite în cuprinsul funcţiei externe sunt disponibile în interiorul funcţiei anonime.
The problem is that the anonymous function will only be able to access the variables that have been passed with "use".
Problema este ca functia anonima nu va avea acces decat la variabilele trimise folosind "use".
Basically in PHP you must specify using the use instruction what will the anonymous function be able to access from the closure scope.
Practic in PHP trebuie specificat cu ajutorul instructiunii use ce anume va putea accesa functia anonima din closure-ul care si-a terminat executia.
Even more, PHP 5.3+ allows calling an object as a anonymous function
Chiar mai mult, PHP 5.3+ permite apelarea unui obiect ca o functie anonima
ContentSet's customSupplement method now passes the full current-item's data array into the anonymous function instead of just the current-item's URL
Lista de setări ContentSet trece acum matricea de date a elementului curent în funcția anonimă în loc de adresa URL a elementului curent
The advantage is that when the anonymous function is created inside another function or method, the anonymous function has access to the environment where it was created, even after the execution of the environment is over.
Avantajul este ca atunci cand functia anonima este generata in interiorul unei alte functii, sau a unei metode, functia anonima va putea accesa mediul in care aceasta a fost creata chiar si dupa terminarea executiei acestuia.
In the previous code sample, you can see an example of creating an anonymous function inside giveMeAFunction() and returning it.
În modelul anterior de cod aţi putut observa un exemplu de concepere a unei funcţii anonime în interiorul componentei giveMeAFunction() şi de returnare a acesteia.
Não foram achados resultados para esta acepção.
Assine o Premium para desbloquear milhões de exemplos de tradução, salvar e aprender vocabulário sem limites e usar o serviço sem anúncios.

Sinônimos e analogias para "anonymous function" em inglês

Palavra e Expressão do Dia
Imagem do dia
wings: feathered limbs used for flying
Descubra o significado
Publicidade

Resultados: 8. Exatos: 8. Tempo de resposta: 16 ms.