Quiz Python: #scope

4 quiz su #scope, con una spiegazione per ogni risposta.

4 Scope e global Difficile Nomi locali e globali, nonlocal, closure e la trappola di UnboundLocalError. Python · Funzioni #scope#closures#gotchas 10 domande · ~8 min Da iniziare Inizia
1 let, const & var Facile Know when to use let, const or var and how each one is scoped. JavaScript · JavaScript Basics #variables#scope 10 domande · ~5 min Da iniziare Inizia
3 Scope & Hoisting Medio Predict what happens when variables and functions are used before their declaration. JavaScript · Functions & Scope #scope#hoisting 10 domande · ~6 min Da iniziare Inizia
5 Scope & Lifetime Medio Know where each C variable can be used and how long it lives, from blocks to globals. C · Functions & Scope #scope#lifetime 10 domande · ~6 min Da iniziare Inizia

Altri tag: