Visualising documentation: JavaScript array.flat

charlottebrf_99

Charlotte Fereday

Posted on August 18, 2020

Visualising documentation: JavaScript array.flat

Alt Text

Today’s function is array.flat(), mdn description here.

Flat takes a nested array and smooshes it into a new single level 'flat' array. If there are empty slots anywhere in the array, it will remove those too.

I've done my own version of the docs with sketches together. Check out the readme to see how you can run the examples. Here’s the folder for array.flat.

💖 💪 🙅 🚩
charlottebrf_99
Charlotte Fereday

Posted on August 18, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related