IntScription()

Devlog - 2025-11-21

πŸš€ What I Did

🧠 What I Learned

Reduce()

array.reduce((accumulator, currentValue) => {
    // logic
}, initialValue)
const arr = [1, 2, 3];

const sum = arr.reduce((acc, curr) => {
  return acc + curr;
}, 0);

console.log(sum); // 6

πŸ”₯ What’s Next


← Previous Next β†’