Definition + Syntax — MDN

The reduce() method executes a reducer function (that you provide) on each element of the array, resulting in single output value.
// Syntax:
arr.reduce(callback( accumulator, currentValue, [, index[, array]] )[, initialValue])

When to Use:

In Action:

const aVeryBigSum = (array) => {
let sum = 0;
return array.reduce((sum…

Taking a look at

.map, .filter, and .reduce explained with emojis

This will be a multi-part series covering simple components using Google’s Material-UI library with React. If there’s a topic you’d like to cover specifically, please leave a comment!

Material-UI logo
  • It comes responsive out of the box.
  • You can create a theme to apply global styles to your components.
  • In the process of learning how to…

Text Wall of Code

Twitter Web Layout

Laptop with VSCode open

A short list of programming games to play!

CodeCombat preview


PWA vs Native (Photo from AppInstitute)

Flexbox and simple CSS

90s CSS
90s CSS

For Loop Rick and Morty Meme

Tiffany Kanjanabout

Full stack web developer. Frontend and design enthusiast. Avid rock climber and amateur photographer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store