Sep 11, 2024 · 3 min read · If you are a JavaScript beginner, you must have come across the forEach method. It might look a little bit quirky at first, but believe me, you will be using this method more often after learning it. Hi fellow developers, my name is Sandeep, and I am...
Join discussion
Oct 16, 2023 · 7 min read · Most of us are familiar with javascript but there are a few interesting fundamentals that we have to know to use javascript to its full potential. This blog is a good place to start if you have basic knowledge of JavaScript or even if you are learnin...
Join discussion
Oct 6, 2023 · 8 min read · In the previous articles of this series, primitive data types were used in different Java (and C#) program examples to manage data stored inside the computer memory (RAM). This was done by declaring variables—specific memory areas whose size in bits ...
Join discussion
Aug 22, 2023 · 3 min read · In the interview process, you might encounter a seemingly straightforward question: looping over an array – easy peasy, right? You'd probably use a foreach or a basic for loop to iterate through the array elements. However, there's a twist: the inter...
Join discussion
Feb 7, 2023 · 3 min read · Arrays and similar data types in other languages are a common way to store data. They are one of the basic data types to become familiar with, and knowing how to manipulate them is an important skill of a developer of any experience level. For now, w...
Join discussion
Jan 28, 2023 · 5 min read · Types of For loops in Javascript For iterating through data collections like arrays and objects, JavaScript offers a number of methods. This article will look at the three most common JavaScript loop types and point out their key differences. The con...
Join discussionJan 4, 2023 · 2 min read · If you are just getting familiar with javascript higher-order functions, you might get confused with maps, for each, filter and reduce. This is a continuous series that will explain the four concepts broadly and also differentiate them so you know wh...
Join discussion
Oct 2, 2022 · 2 min read · Hello readers, in this article, I will be explaining for and foreach loop in php. Let first attend to for loop. For Loop A for loop is used to repeat code over a particular number of times. Below is how to iterate using for loop in php. <?php for($...
Join discussion