위코드.JavaScript 14.반복문과 배열 심화

younghyun·2021년 12월 30일
0
  • 배열 길이와 인덱스 : 배열 길이 보다 인덱스는 -1작음.
    for ( let index = 0; index < myNumbers.length; index++ ) {
        console.log(myNumbers[index] + 1)
    }
profile
선명한 기억보다 흐릿한 메모

0개의 댓글