Quizzes de Python: #closures

4 quizzes sobre #closures, com explicação para cada resposta.

4 Escopo e global Difícil Nomes locais e globais, nonlocal, closures e a armadilha do UnboundLocalError. Python · Funções #scope#closures#gotchas 10 perguntas · ~8 min Não iniciado Começar
5 Decoradores Difícil Leia e escreva decoradores, de wrappers simples a decoradores que recebem argumentos. Python · Python idiomático #decorators#closures#interview 10 perguntas · ~8 min Não iniciado Começar
4 Closures Difícil Understand how functions remember the variables around them, a favorite interview topic. JavaScript · Functions & Scope #closures#interview 10 perguntas · ~8 min Não iniciado Começar
3 Closures in Loops Difícil The classic interview puzzle of functions created inside loops, with var, let and every fix in between. JavaScript · JavaScript Interview Questions #closures#interview 10 perguntas · ~8 min Não iniciado Começar

Outras tags: