Andrea Barghigianiblog.cupofcraft.dev·Jan 13, 2025Flatten an array with a custom functionWhen it comes to arrays, JavaScript gives us plenty of options to work with them. The most common methods, maybe made famous by the need to write expressions in the JSX syntax itself, probably are map, filter, some, and reduce. But you only have to l...My GFE 75 ExperienceJavaScript
Vishal Nayakvishalnayak.hashnode.dev·Jan 12, 2025New JavaScript Array Methods: A Guide for DevelopersJavaScript arrays are a powerful tool for storing and manipulating data. In recent years, the JavaScript language has added a number of new methods to the Array object, making it even easier to work with arrays. Here are some of the new JavaScript ar...JavaScript
Dipak Malimalidipak.hashnode.dev·Jan 6, 2025Play with Arrays - Part 1Arrays are most fundamental data structures in programming. Arrays are the contiguous memory blocks containing data of similar type. In this blog, we will dive straight into array searching algorithms: Linear Search and Binary Search. We will also se...41 readsarray
Brett Rowberrybrettrowberry.com·Jan 2, 2025Prepending to Living Agenda DocumentsImagine you have a recurring meeting with an agenda open to contributions by all participants. Many meetings in the workplace are like this: 1:1s Sprint demos Team operational reviews Perhaps the agenda is written in a Google Doc or a Confluence...Everyday AlgorithmsDocuments
Gowshik Ramjavaarrayhacks.hashnode.dev·Jan 2, 2025Key Java Array Techniques for More Efficient CodeBlog Title: "Must-Know Java Array Methods to Make Your Code Cleaner and Life Easier" Introduction When working with arrays in Java, there are many common operations that can greatly improve the readability, efficiency, and cleanliness of your code. W...Java
Andrea Barghigianiblog.cupofcraft.dev·Jan 2, 2025Building your own reduce array methodJavaScript has always amazed me with its internal workings and the built-in features that we have for free, especially with the evolutions the language has gone through in recent years. I always wanted to dive deeper into the internals of the languag...My GFE 75 ExperienceJavaScript
RANIT MANIKranitmanik.hashnode.dev·Dec 30, 2024Array in JavaScriptIn JavaScript, arrays are used to store ordered collections of values. These values can be of any type (numbers, strings, objects, other arrays, etc.). Arrays are one of the most commonly used data structures in JavaScript because they are versatile,...JavaScript
RANIT MANIKranitmanik.hashnode.dev·Dec 30, 2024JavaScript some MethodWhat is the some Method? The some method checks if any element in an array satisfies the condition specified in the callback function. If at least one element satisfies the condition, it returns true; otherwise, it returns false. Syntax array.some(c...JavaScript
RANIT MANIKranitmanik.hashnode.dev·Dec 30, 2024JavaScript reduce MethodWhat is the reduce Method? The reduce method executes a reducer function on each element of the array, resulting in a single output value. Syntax: array.reduce(callback, initialValue) Parameters: callback: A function that is called on each element ...JavaScript
Aman Rajhuamanraj.hashnode.dev·Dec 27, 2024Differences Between forEach() and map() in JavaScriptThe Ultimate Guide to forEach() vs map() in JavaScript As a JavaScript developer, you've likely encountered the forEach() and map() array methods. While both are used for iteration, they have distinct differences that can significantly impact your co...11 likesJavaScript