Python क्विज़: #scope

#scope पर 4 क्विज़, हर जवाब के explanation के साथ।

4 Scope और global कठिन Local और global names, nonlocal, closures और UnboundLocalError वाला trap. Python · Functions #scope#closures#gotchas 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
1 let, const & var आसान Know when to use let, const or var and how each one is scoped. JavaScript · JavaScript Basics #variables#scope 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
3 Scope & Hoisting मीडियम Predict what happens when variables and functions are used before their declaration. JavaScript · Functions & Scope #scope#hoisting 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
5 Scope & Lifetime मीडियम Know where each C variable can be used and how long it lives, from blocks to globals. C · Functions & Scope #scope#lifetime 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें

दूसरे टैग: