Reduce basics - Part 3 of Functional Programming in JavaScript

Share this & earn $10
Fun Fun Function
Published at : 13 Nov 2021
280093 views
6339
63

πŸ’– Support the show by becoming a Patreon
https://www.patreon.com/funfunfunction

In this video series, we learn how to do functional programming in JavaScript. In this third one, I show you how reduce fits into your toolbox and a basic example of it’s usage.
Code from the video here:
https://jsfiddle.net/mattiasjle/w789neex/

How to install and use io.js (for the arrow functions example)
http://davidwalsh.name/es6-io

You want to follow me on Twitter and Quora:
https://twitter.com/mpjme
http://www.quora.com/Mattias-Petter-Johansson

πŸ’› Follow on Twitch
We record the show live Mondays 7 AM PT
https://twitch.tv/funfunfunction

πŸ’› Fun Fun Forum
Private discussion forum with other viewers in between shows. https://www.funfunforum.com. Available to patron members, become one at https://www.patreon.com/funfunfunction

πŸ’› mpj on Twitter
https://twitter.com/mpjme

πŸ’› CircleCI (Show sponsor)
Robust and sleek Docker-based Continuous Integration as a service. I used CircleCI prior to them becoming a sponsor and I love that their free tier is powerful enough for small personal projects, even if they are private. Use this link when you sign up to let them know you came from here:
https://circleci.funfunfunction.com

πŸ’› Quokka (Show sponsor)
Wonder how MPJ evaluates JavaScript inline his editor. Quokka is the answer - use this link when you buy to let them know you came from here:
http://quokka.funfunfunction.com

πŸ’› FUN FUN FUNCTION
Since 2015, Fun Fun Function (FFF) is one of the longest running weekly YouTube shows on programming πŸ… thanks to its consistency and quality reaching 200,000+ developers.

πŸ€¦β€β™‚οΈ The Failing Together concept is what makes FFF unique. Most coding content out there focus on step-by-step tutorials. We think tutorials are too far removed from what everyday development is like. Instead, FFF has created a completely new learning environment where we grow from failure, by solving problems while intensively interacting with a live audience.

Tutorials try to solve a problem. Failing Together makes you grow as a developer and coworker.

πŸ“Ή Each show is recorded live on Twitch in a 2-hour livestream on Mondays. The host, assisted by the audience, is tasked to complete a programming challenge by an expert guest. Like in the real world, we often fail, and learn from it. This, of course, reflects what the audience identifies with, and is one of the most praised aspects of the show.

⏯ On Fridays, an edited version of the show is adapted for and published on YouTube.

Content Topics revolve around: JavaScript, Functional Programming, Software Architecture, Quality Processes, Developer Career and Health, Software Development, Project Management

JavaScript (Programming Language)Functional Programming (Programming Language Paradigm)Programming Language (Software Genre)

How Houses and Laborers Work in Albion Online! Housing and laborer island guide

How Houses and Laborers Work in Albion Online! Housing and laborer island guide

Character Is A Vital Lie

Character Is A Vital Lie

olivia rodrigo - deja vu (lyrics) "that was the show we talked about" [tiktok song]

olivia rodrigo - deja vu (lyrics) "that was the show we talked about" [tiktok song]

Unknown Brain x Rival - Control (feat. Jex) [NCS Release]

Unknown Brain x Rival - Control (feat. Jex) [NCS Release]

Doja Cat - Woman (Lyrics)

Doja Cat - Woman (Lyrics)

Electronic Mail - Advantages and Disadvantages of Email

Electronic Mail - Advantages and Disadvantages of Email

The 4 Types of Teachers During Staff Meetings

The 4 Types of Teachers During Staff Meetings

Use of AM, IS, ARE with Pronouns | English Grammar | Roving Genius

Use of AM, IS, ARE with Pronouns | English Grammar | Roving Genius

Alina Baraz - Endlessly (lyric video)

Alina Baraz - Endlessly (lyric video)

Giving Advice - You Should...  (easy English conversation practice) | Learn English - Mark Kulek ESL

Giving Advice - You Should... (easy English conversation practice) | Learn English - Mark Kulek ESL

I DISCUSSED CONOR MCGREGOR'S RETURN WITH TRT WORLD'S LANCE SANTOS

I DISCUSSED CONOR MCGREGOR'S RETURN WITH TRT WORLD'S LANCE SANTOS

This is Why People Are Unable to Maintain Their Happiness | Sadhguru

This is Why People Are Unable to Maintain Their Happiness | Sadhguru

Da Hood | Fastest most effective way to earn cash

Da Hood | Fastest most effective way to earn cash

Conversational English - Invitations

Conversational English - Invitations

Sparkle gipsplater - steg for steg

Sparkle gipsplater - steg for steg

8 New Amazing Tools You Should Have Available On Amazon

8 New Amazing Tools You Should Have Available On Amazon

Lykke Li - Possibility (Official Video)

Lykke Li - Possibility (Official Video)

The Intent 2 The Come Up 2018 720p HDRip x264 AC3 MOVCR

The Intent 2 The Come Up 2018 720p HDRip x264 AC3 MOVCR

When SUPPORT Players Are HEROES... AMAZING SUPPORTS MONTAGE (League of Legends)

When SUPPORT Players Are HEROES... AMAZING SUPPORTS MONTAGE (League of Legends)

28TH CEANA 2021 VIRTUAL CONVENTION (SATURDAY)

28TH CEANA 2021 VIRTUAL CONVENTION (SATURDAY)

34 CRAZY TRICKS WITH SIMPLE THINGS YOU SHOULD TRY

34 CRAZY TRICKS WITH SIMPLE THINGS YOU SHOULD TRY

Muscular strength is an indication how healthy your brain is!

Muscular strength is an indication how healthy your brain is!

Kapustin Motive Force Op.45

Kapustin Motive Force Op.45

B Young - Jumanji (Prod. By AntiWave) [Music Video] | GRM Daily

B Young - Jumanji (Prod. By AntiWave) [Music Video] | GRM Daily

The Golden Coin: An important story about honesty - Educational Stories for Children

The Golden Coin: An important story about honesty - Educational Stories for Children

Demi Lovato - Carefully (Official Audio Visualizer)

Demi Lovato - Carefully (Official Audio Visualizer)

Beginner Illustration Series PART 1: Face Proportions And Perspective

Beginner Illustration Series PART 1: Face Proportions And Perspective

The Platform | Main Trailer | Netflix

The Platform | Main Trailer | Netflix

Modern Combat Versus Random Agents Lock & Ghost + Include 2 Gameplay MCVS 2021

Modern Combat Versus Random Agents Lock & Ghost + Include 2 Gameplay MCVS 2021

Lady Gaga - Always Remember Us This Way (from A Star Is Born) (Official Music Video)

Lady Gaga - Always Remember Us This Way (from A Star Is Born) (Official Music Video)

Love Without Needing

Love Without Needing

Popp Hunna Feat. Toosii "Beneficial" (Official Video)

Popp Hunna Feat. Toosii "Beneficial" (Official Video)

Can we be sure that in our line chanting will automatically reveal our svarΕ«pa?

Can we be sure that in our line chanting will automatically reveal our svarΕ«pa?

6 60 SECOND HAIRSTYLES ✨ Cute Hairstyles For Long Hair

6 60 SECOND HAIRSTYLES ✨ Cute Hairstyles For Long Hair

Turning into our ✨FAVORITE SINGERS!✨🎢 || Roblox 2021 || Miley and Riley

Turning into our ✨FAVORITE SINGERS!✨🎢 || Roblox 2021 || Miley and Riley

Kitten Loves His Mom So Much He Never Wants To Let Go....of Her Chin | The Dodo Soulmates

Kitten Loves His Mom So Much He Never Wants To Let Go....of Her Chin | The Dodo Soulmates

Beginners Guide To Real Knife Sharpening

Beginners Guide To Real Knife Sharpening

Escaping Prison Using Only My Hands

Escaping Prison Using Only My Hands

POWERFULLY ATTRACT the Right Woman for You by GIVING FREELY...

POWERFULLY ATTRACT the Right Woman for You by GIVING FREELY...

ZOMBIES greifen STANNI PERFORMANCE an!

ZOMBIES greifen STANNI PERFORMANCE an!

Do Nothing And Earn $650 For FREE! (Make Money Online)

Do Nothing And Earn $650 For FREE! (Make Money Online)

If LEGO Were A PERSON!😀 Funny DIYs and Hacks For Clumsy People

If LEGO Were A PERSON!😀 Funny DIYs and Hacks For Clumsy People

-The End Result 😒😒            Of -True Love πŸ’” πŸ’”

-The End Result 😒😒 Of -True Love πŸ’” πŸ’”

Common - Good Morning Love feat. Samora Pinderhughes

Common - Good Morning Love feat. Samora Pinderhughes

Grease - Hopelessly Devoted to You (Lyrics) but now there's nowhere to hide since you

Grease - Hopelessly Devoted to You (Lyrics) but now there's nowhere to hide since you

Which contains the greatest mass of oxygen [OPENSTAX] Problem 9

Which contains the greatest mass of oxygen [OPENSTAX] Problem 9

Static-X - The Only (Official Music Video) | Warner Vault

Static-X - The Only (Official Music Video) | Warner Vault

HTML Tutorial for Beginners: HTML Crash Course [2021]

HTML Tutorial for Beginners: HTML Crash Course [2021]

Observing Young Children

Observing Young Children