Quizzes de Python: #scope

4 quizzes sobre #scope, 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
1 let, const & var Fácil Know when to use let, const or var and how each one is scoped. JavaScript · JavaScript Basics #variables#scope 10 perguntas · ~5 min Não iniciado Começar
3 Scope & Hoisting Médio Predict what happens when variables and functions are used before their declaration. JavaScript · Functions & Scope #scope#hoisting 10 perguntas · ~6 min Não iniciado Começar
5 Scope & Lifetime Médio Know where each C variable can be used and how long it lives, from blocks to globals. C · Functions & Scope #scope#lifetime 10 perguntas · ~6 min Não iniciado Começar

Outras tags: