Mar 3 · 5 min read · Arrays are one of the most important data structures in JavaScript.In real-world development (frontend + backend), you will constantly manipulate arrays — API responses, database results, UI lists, lo
Join discussion
Feb 17 · 6 min read · High order functions are functions which accept a function in its argument or returns an function. Lets discuss an high order function with examples : function name(passed){ name = "Abhinab"; passed(name) } function greet(fullName){ cons...
Join discussion
Feb 18 · 2 min read · Java Streams were introduced in Java 8 and they completely changed how we process collections.Instead of writing loops, we can now write clean, readable, functional-style code.Let’s understand Streams step by step. What is a Stream? A Stream in Java ...
Join discussion
Mar 25, 2025 · 4 min read · .reduce() Reduce as seen above is an iterator, used to iterate through arrays. As I’ve typically seen ‘.reduce()’ it’s been used to reduce the elements of arrays to a single value. However, in my example, I will not be doing that, I will be using ‘....
Join discussionMar 14, 2025 · 5 min read · Hey there!After diving deep into the forEach() method, it's time to explore another powerhouse in JavaScript: the reduce() method! If you've ever found yourself summing up an array of numbers or merging complex datasets, reduce() is about to become y...
Join discussion