BMBiplav Mazumdarinarraydata.hashnode.dev·Jun 29, 2024 · 1 min readWhat is App Routing and How it makes routing easyApp Router In Next.js, the “App Router” is a new feature introduced to manage the routing of your application. It allows developers to define the layout and routing logic of their applications in a more flexible and declarative way. Key Features of t...00
BMBiplav Mazumdarindevbunney.hashnode.dev·May 10, 2024 · 2 min readArray QuestionQ1.Span Of Array here we need to find the diffrenct between max and min we have 2 ways 1)sort the array 2)with the help of for loop let data = [12,23,232,14]; data.sort(function (a,b) {return a-b}) let diff = data[data.length-1] - data[0]; console....00
BMBiplav Mazumdarindevbunney.hashnode.dev·Mar 23, 2023 · 1 min readHow to quickly and conveniently disable all console.log statements in my code?I have the solution with the help of this code you are able to disable all console.log statements in your code. Redefine the console.log function in your script. console.log = function() {}00
BMBiplav Mazumdarindevbunney.hashnode.dev·Mar 14, 2023 · 2 min readLinkedListLinkedList is the dynamic data structure as we can add or remove elements at ease, and it can even grow as needed. Just like arrays, linked lists store elements sequentially, but don’t store the elements contiguously like an array. A linked list is ...00
BMBiplav Mazumdarindevbunney.hashnode.dev·Mar 6, 2023 · 1 min readRecursion in JavascriptQuestion 1: Sum all numbers Write a function called sumRange. It will take a number and return the sum of all numbers from 1 up to the number passed in. Sample: sumRange(3) returns 6, since 1 + 2 + 3 = 6. let count = 1; let data = 0; function sumRang...00