표기법

dash-case(kebab-case) html css

the-quick-brown-fox-jumps-over-the-lazy-dog

snake_case html css

the_quick_brown_fox_jumps_over_the_lazy_dog

camelCase JS

theQuickBrownFoxJumpsOverTheLazyDog

ParcelCase JS

TheQuickBrownFoxJumpsOverTheLazyDog

Zero-based Numbering

0 기반 번호 매기기!

특수한 경우를 제외하고 0부터 숫자를 시작합니다.

console.log('Sunki');

let fruits = ['Apple', 'Banana', 'Cherry'];

console.log(fruits[0]); // 'Apple'
console.log(fruits[1]); // 'Banana'
console.log(fruits[2]); // 'Cherry'

console.log(new Date('2022-01-30').getDay()); // 0, 일요일
console.log(new Date('2022-01-31').getDay()); // 1, 월요일
console.log(new Date('2022-02-01').getDay()); // 2, 화요일

Untitled