Python क्विज़: #closures

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

4 Scope और global कठिन Local और global names, nonlocal, closures और UnboundLocalError वाला trap. Python · Functions #scope#closures#gotchas 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
5 Decorators कठिन Decorators पढ़ें और लिखें, simple wrappers से लेकर arguments लेने वाले decorators तक. Python · Pythonic Python #decorators#closures#interview 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
4 Closures कठिन Understand how functions remember the variables around them, a favorite interview topic. JavaScript · Functions & Scope #closures#interview 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
3 Closures in Loops कठिन The classic interview puzzle of functions created inside loops, with var, let and every fix in between. JavaScript · JavaScript Interview Questions #closures#interview 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें

दूसरे टैग: