└ 명시적 정의(변수 선언 시 타입 정의)let a: boolean = "x"→ 🚫 boolean 타입에 string타입 할당 불가 알림└ 변수만 생성(타입 추론)let b = "hello"→ b가 string 타입이라고 추론b = 1→ 🚫 string 타입에 nu