Open in app
Mehdi Aoussiad
592 Followers
About

Sign in

592 Followers
About
Open in app
Why not just use the built in function to flatten an array?
34
1

Krzysztof Rogala

Mehdi Aoussiad

Mehdi Aoussiad

·Dec 5, 2020

You're right, I don't know why I didn't think about the flat function.

More from Mehdi Aoussiad

Self-taught Front-End Web Developer from Morocco. I focus on writing useful articles for readers. Subscribe: https://mehdiouss.ck.page/

More From Medium

The Keyword ‘this’ in JavaScript Explained With Examples

Mehdi Aoussiad in JavaScript In Plain English

Understanding The Bind Method in JavaScript

Mehdi Aoussiad in JavaScript In Plain English

The Arguments Object in JavaScript Explained With Examples

Mehdi Aoussiad in JavaScript In Plain English

The Reduce Method in JavaScript Explained With Examples

Mehdi Aoussiad in JavaScript In Plain English

7 Useful Chrome Extensions for Web Developers

Mehdi Aoussiad in JavaScript In Plain English

5 Useful CSS Tips Every Web Developer Should Know

Mehdi Aoussiad in JavaScript In Plain English

10 Developer Tools that You Probably Need to Use

Mehdi Aoussiad in JavaScript In Plain English

How Do I Push Myself to Learn New Things Everyday?

Mehdi Aoussiad in Dev Genius

About

Help

Legal

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