Codewars 6 kyu Length of Missing Array JavaScript

preview_player
Показать описание
this one uses the map(), sort(), and includes() methods

#algorithm #codewars #coding #learntocode #learnprogramming #javascript #learnjavascript #frontend #frontenddeveloper #programming #programminglife #computer #computerscience #computers #homework #learning #tutorial #programmingtutorials #programmingtutorial #javascripttutorial #javascripttutorialforbeginners #javascripttutorials | #map #sort #include #includes #array #missing #length
Рекомендации по теме
Комментарии
Автор

you could check the edges cases in top with
if(arrayOfArrays.length ===0) return 0
no?

ARediting
Автор

Woo! thank you. The part that was tripping me up was the last edge case of not being able to read length of null. I will give this another crack and see if I can solve it now that I know how you got around that error

mattvail
join shbcf.ru