JavaScript Array Method Exercises 01

Опубликовано: 30 Сентябрь 2024
на канале: Code With Bubb
23,449
481

Don't just learn JavaScript, live it 👉 https://codewithbubb.gumroad.com/l/tOATG

In this video, you'll get some practice with JavaScript Array Methods by completing some practical exercises.

Here's the Gist with the people array and exercise details: https://gist.github.com/codebubb/2c2b...

Jump to any of the exercises:
01:15 Exercise One (02:50 Final Solution)
03:04 Exercise Two (04:13 Final Solution)
04:27 Exercise Three (05:30 Final Solution)
05:50 Exercise Four (06:31 Final Solution)
06:50 Exercise Five (08:32 Final Solution)

Want to work through the JavaScript exercises for beginners offline? Grab a copy of the PDF here: https://pages.juniordevelopercentral.... and you can work through all the exercises at your own pace.

In the tutorial, you'll learn about various different array method available in JavaScript by completing some simple exercises on an array of data i'll provide you with.

Don't worry if you get stuck - i've provided example solutions but feel free to post your own if you come up with something different.

So to solve these JavaScript array methods exercises you'll need to call on several JavaScript functions that may or may not include:
- JavaScript filter
- JavaScript map
- JavaScript reduce
- JavaScript forEach

In fact using the JavaScript map reduce filter functions with JavaScript arrays can solve a multitude of problems and you can probably solve all of these JavaScript exercises with a combination of the above JavaScript functions. Of course each JavaScript exercise can also be solved multiple ways.

Hopefully you'll find these JavaScript exercises for practice useful and might be a bit more involved than some basic JavaScript loops exercises. So enjoy these JavaScript exercises and solutions!

#JavaScript #Practice #Exercises Channel Handle @codewithbubb