Python-Quizze: #scope

4 Quizze zu #scope, mit Erklärung zu jeder Antwort.

4 Gültigkeitsbereich & global Schwer Lokale und globale Namen, nonlocal, Closures und die UnboundLocalError-Falle. Python · Funktionen #scope#closures#gotchas 10 Fragen · ~8 Min. Nicht begonnen Starten
1 let, const & var Leicht Know when to use let, const or var and how each one is scoped. JavaScript · JavaScript Basics #variables#scope 10 Fragen · ~5 Min. Nicht begonnen Starten
3 Scope & Hoisting Mittel Predict what happens when variables and functions are used before their declaration. JavaScript · Functions & Scope #scope#hoisting 10 Fragen · ~6 Min. Nicht begonnen Starten
5 Scope & Lifetime Mittel Know where each C variable can be used and how long it lives, from blocks to globals. C · Functions & Scope #scope#lifetime 10 Fragen · ~6 Min. Nicht begonnen Starten

Weitere Tags: