Finding minimum and maximum value in an array using for loop method in Javascript language.

preview_player
Показать описание
This is the video for finding minimum and maximum value in array using for loop in javascript language.
Рекомендации по теме
Комментарии
Автор

"i < len - 1" is a mistake if we want to iterate each value from an array. this implementation will skip last element. "i < len" in a for loop would be correct

nescafezos