JavaScript fundamentals practice set 2: hoisting, closures, coercion, async order and modern syntax

जावास्क्रिप्ट फ़ंडामेंटल्स प्रैक्टिस सेट 2: hoisting, closures, टाइप कोअर्शन, async क्रम और आधुनिक सिंटैक्स

20 questions · 18 minutes · Medium · मध्यम · For IT / Tech jobs, Campus placement exams

Twenty interview-style JavaScript questions: var vs let in loops, the temporal dead zone, typeof quirks, reduce, truthiness, spread copies, flat, at(), parseInt vs Number, Set, default parameters, chained comparisons, closures, async/await order, find, Object.keys order and ?? vs ||. Every code-output answer was checked by running the code in Node.js.

इंटरव्यू जैसे 20 जावास्क्रिप्ट प्रश्न: लूप में var बनाम let, टेम्पोरल डेड ज़ोन, typeof की विचित्रताएँ, reduce, truthy/falsy, स्प्रेड कॉपी, flat, at(), parseInt बनाम Number, Set, डिफ़ॉल्ट पैरामीटर, जुड़ी हुई तुलना, क्लोज़र, async/await का क्रम, find, Object.keys का क्रम और ?? बनाम ||। हर कोड-आउटपुट उत्तर Node.js में कोड चलाकर जाँचा गया है।

How do you want to practise?

See if each answer is right, with the explanation, before moving on. No timer.

Loading…

More practice

All practice sets →