JavaScript Array Sort Method Practice in 5 Minutes

preview_player
Показать описание
Learn to use the Sort() function to customize how an array is sorted.

Arrays are an essential part of JavaScript. If you want to get better at JavaScript, you have to know how to effectively use arrays, especially the built-in array methods like map, reduce, filter, sort, every, some, etc. In this series, we'll cover the JavaScript array methods you need to know to become a web developer.

_____________________________________________

Newsletter 🗞
Interested in exclusive content and discounts? 🤯 Sign up for the newsletter!
_____________________________________________

Connect with me 😀
_____________________________________________

COURSES 💻
Рекомендации по теме
Комментарии
Автор

This is by far my favourite coding channel on YouTube. Clear concise instructions and a worksheet to engage with. Thanks James have an amazing Thursday.

aaronlinton-chambers
Автор

This repository was amazing. I am starting a coding bootcamp in a few days and brushing up on this makes me feel WAAAAY more confident. Thanks!

nicholaskozlarek
Автор

James, these are great short vids. I love doing the short exercises.

gbbowler
Автор

Very easy to understand. Thank you for doing examples with numbers and strings.

bradpeters
Автор

All this videos have helped me so much, i really appreciate them

PFOctavio
Автор

I love how you have the repo for these lessons. Keep it up man you're killing it

zacwilson
Автор

Again an amazing value packed video! Thank you!

KieCodes
Автор

I loved that there were different types of examples. Thank you <3

By FAR the best explanation on array sort.

exodion
Автор

small suggestion, you could've used a console.clear() at the start of the file so following the console would be a little clearer

fenrirbr
Автор

Hello James, thanks and very good job, from France !

elie
Автор

Didactically very well produced and presented. Great Work!

stefanzander
Автор

Thank you James! Very cool and understandable tutorials ! I got the idea of array` s methods only from your videos!

mariapaderina
Автор

Thank you James! Very cool and understandable tutorials !

TheMugen
Автор

thank you James for sharing knowledge.

jazper
Автор

Wow...Javascript series ❤❤
Really excited for this series

indian_gagan
Автор

Better than GOT for an eager heart to learn

maxlong
Автор

New to coding here. I don't understand how sort by name works. How does the conditional understand that Anakin is alphabetically smaller than Darth? Do the strings have hidden alphabetical values?

Singlerity
Автор

instead of doing return twice, you should better use this const byName = characters.sort((a, b) => a.name < b.name ? -1 : 1);

jonathansigg
Автор

how do u display each object in a card. ?

Alphadec
Автор

what are you saying you are running at 2:25? Did you say node mod? trying to get that extension but cant find it

panoptech