표기법

the quick brown fox jumps over the lazy dog을 각 표기법에 맞춰 작성해보자!

Zero-based Numbering

특수한 경우를 제외하고 0부터 숫자를 시작한다. (배열의 첫 번째 요소는 0번 인덱스)

let fruits = ['apple', 'banana', 'orange'];
console.log(fruits[0]);  // apple
console.log(fruits[1]);  // banana
console.log(fruits[2]);  // orange

데이터 종류(자료형)