© 2023 Hashnode
#neogcamp
Know the difference between inline v/s block HTML elements 🟢Inline HTML elements: An inline element does not start on a new line and only takes up as much width as necessary ⭐Any height and width p…
Overview of Exception Handling in JavaScript JavaScript is one of the most widely used programming language over the globe. Therefore, many developers enjoy writing code and in recent times JavaScript…
Destructuring Arrays In the case of an array, the key for each element is fixed: that is the index; so we can write any variable name in destructuring the array to hold its value. The first value in t…
Introduction We have always been using the traditional for-loop for all array-based operations and it has not been worth writing lines of code even just for small operations. It is quite tiresome some…
Traditional Approach When it comes to problem-solving, we have always been using conditional statements since we started programming. The most well-known are: if: Used to execute a block of code if a…
Introduction: I was confused at first about what callback functions mean so I tried a few simple examples to understand what it does. In this article we will try to see with the same examples what cal…
What we will cover: Note: This article is updated with corrections about truthy and falsy values In the previous article, we read about map, filter and find functions, in this article, we will first s…
What is a Map in JavaScript? Map is a collection of key/value pairs that can use any type of data as a key or a value and remember the order of its entries. It is used to iterate over all the elements…
introduction Arrays are a fundamental data structure in JavaScript, and the ability to perform complex operations on them is essential for any developer. One powerful tool for manipulating arrays is t…
Let's get it straight, map, filter and find, saves some time by writing less code and delivering the right output. Understanding how it works will be helpful to implement it well. What we will cover I…