2.3 JavaScript Interview Preparation: Search methods in ArraySearching for elements in an array is a common task in programming. JavaScript provides various methods for performing a search operation in an array. In this article, we will cover the most commonly used search methods: indexOf, lastIndexOf, include...Apr 26, 2023·4 min read
Ep. 4 How functions work in JS ❤️ & Variable Environment - HOISTING | Namaste JavaScriptApr 23, 2023·3 min read
JavaScript Interview Question: Generator FunctionJavaScript is a popular programming language used for developing web applications. One of the key features of JavaScript is the use of generators. Generators are functions that can pause and resume their execution, allowing for more flexible and effi...Apr 20, 2023·6 min read
JavaScript Interview Question: Iterables and IteratorsJavaScript is an object-oriented programming language, and with the introduction of ECMAScript 6 (ES6), the iterator concept came into existence. An iterator is a new mechanism that allows us to iterate or traverse through data structures like arrays...Apr 19, 2023·3 min read
JavaScript Interview Question: CurryingIntroduction Have you ever come across a scenario where you passed multiple arguments to a function, but one argument at a time? Currying is a technique that allows you to do exactly that. It’s a unique way to call inner functions where you can pass ...Apr 18, 2023·3 min read
JavaScript Interview Question: ClosuresFunctions are the building blocks of JavaScript, and they are versatile enough to be used in many ways. Closures are one of the most powerful concepts in JavaScript, but they can be a bit tricky to understand at first. In this article, we will discus...Apr 17, 2023·3 min read
JavaScript Interview Question: What are Arrow FunctionsArrow functions are a popular feature of JavaScript that were introduced in ES6 (ECMAScript 2015) and have since become a staple of modern JavaScript programming. Arrow functions provide a concise syntax for writing function expressions that help red...Apr 16, 2023·5 min read
JavaScript Interview Question: When do we get NaN in outputAs a JavaScript developer, you may have come across NaN in your code. NaN stands for "not a number" and is a global property in JavaScript representing non-numerical values. In this article, we will explore what NaN is, when you may encounter it, and...Apr 16, 2023·3 min read