filmov
tv
Javascript - for loop, if statement -- Find First Non-Consecutive Number
![preview_player](https://i.ytimg.com/vi/DTpvggZmcoI/maxresdefault.jpg)
Показать описание
In this video, we create a javascript function that uses a for loop and an if statement to find the first non-consecutive number in an array.
Please post your favorite way or a better way to solve this problem. There is almost always a better way!
Please post your favorite way or a better way to solve this problem. There is almost always a better way!